Changed sleep to wait everywhere where it was needed

This commit is contained in:
Erik Zandvliet 2016-05-18 17:06:03 +02:00
parent 3ad8317df7
commit 72de5e5b90
9 changed files with 18 additions and 18 deletions

View file

@ -63,7 +63,7 @@ void Util::Procs::exit_handler() {
break;
}
if (!listcopy.empty()) {
Util::sleep(20);
Util::wait(20);
++waiting;
}
}
@ -91,7 +91,7 @@ void Util::Procs::exit_handler() {
break;
}
if (!listcopy.empty()) {
Util::sleep(20);
Util::wait(20);
++waiting;
}
}
@ -119,7 +119,7 @@ void Util::Procs::exit_handler() {
break;
}
if (!listcopy.empty()) {
Util::sleep(20);
Util::wait(20);
++waiting;
}
}