X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fuci.cpp;h=ad7a8d133f95eb9e897e1da3a6eea2e4d78d8acb;hb=ea6c1f7a17572f1cd291ffd00e28cfbd3b2947d5;hp=33b4ef1ad6182ea1562f5ac154c7abc0d2e209e9;hpb=a523cea772dad9e5ffb36b8fe888c30f192bc3ef;p=stockfish 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;