Rename wake_up() to notify_one()
[stockfish] / src / uci.cpp
index 33b4ef1ad6182ea1562f5ac154c7abc0d2e209e9..ad7a8d133f95eb9e897e1da3a6eea2e4d78d8acb 100644 (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;