mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
Stuff.
This commit is contained in:
@@ -52,7 +52,7 @@ WaitpidQueue::WaitpidQueue() {
|
|||||||
|
|
||||||
wait_time = std::min(10 * 1000ms, wait_time * 2);
|
wait_time = std::min(10 * 1000ms, wait_time * 2);
|
||||||
|
|
||||||
for (int pid : queue) {
|
for (auto pid : queue) {
|
||||||
if (::waitpid(pid, nullptr, WNOHANG) == 0)
|
if (::waitpid(pid, nullptr, WNOHANG) == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user