mirror of https://github.com/aria2/aria2
113c8fac7f
To reduce overhead to find commands whose socket is either readable or writable in the download engine loop: * src/Command.h, src/Command.cc (STATUS): New enum. (status): New variable. (statusMatch): New function. (setStatusActive): New function. (setStatusInactive): New function. * src/DownloadEngine.h, src/DownloadEngine.cc (executeCommand): New function. (run): Simplified. (waitData): Call Command::setStatusActive() when command's socket is readable or writable. |
||
---|---|---|
.. | ||
ChangeLog | ||
LINGUAS | ||
Makefile.in | ||
Makefile.in.in | ||
Makevars | ||
POTFILES | ||
POTFILES.in | ||
Rules-quot | ||
aria2c.pot | ||
boldquot.sed | ||
de.gmo | ||
de.po | ||
en@boldquot.header | ||
en@quot.header | ||
insert-header.sin | ||
ja.gmo | ||
ja.po | ||
quot.sed | ||
remove-potcdate.sed | ||
remove-potcdate.sin | ||
ru.gmo | ||
ru.po | ||
stamp-po |