waiter_map_t : concept changed

Purpose-specific waiter_map_t objects instead of global one. SM_Sleep()
removed.
This commit is contained in:
Nekotekina 2014-10-16 20:29:41 +04:00
parent 48eb66383b
commit 18b69cac99
10 changed files with 86 additions and 116 deletions

View file

@ -33,7 +33,7 @@ public:
return false;
}
SM_Sleep();
std::this_thread::sleep_for(std::chrono::milliseconds(1));
continue;
}
@ -60,7 +60,7 @@ public:
return false;
}
SM_Sleep();
std::this_thread::sleep_for(std::chrono::milliseconds(1));
continue;
}
@ -112,7 +112,7 @@ public:
break;
}
SM_Sleep();
std::this_thread::sleep_for(std::chrono::milliseconds(1));
continue;
}