X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=ad7a8d133f95eb9e897e1da3a6eea2e4d78d8acb;hp=33b4ef1ad6182ea1562f5ac154c7abc0d2e209e9;hb=81cd7d787ef2b9d914c9c09ddbed59dffb78ec77;hpb=a523cea772dad9e5ffb36b8fe888c30f192bc3ef diff --git a/src/uci.cpp b/src/uci.cpp index 33b4ef1a..ad7a8d13 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -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;