Rename wake_up() to notify_one()

To align to C++ std::thread conventions.

No functional change.
This commit is contained in:
Marco Costalba
2013-01-13 15:35:38 +01:00
parent a523cea772
commit 81cd7d787e
4 changed files with 20 additions and 22 deletions

View File

@@ -76,7 +76,7 @@ void UCI::loop(const string& args) {
if (token != "ponderhit" || Search::Signals.stopOnPonderhit)
{
Search::Signals.stop = true;
Threads.main_thread()->wake_up(); // Could be sleeping
Threads.main_thread()->notify_one(); // Could be sleeping
}
else
Search::Limits.ponder = false;