Changed sleep to wait everywhere where it was needed
This commit is contained in:
parent
3ad8317df7
commit
72de5e5b90
9 changed files with 18 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue