X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=c98c7867ed3ab5964e123c2af5a6f51821582cf0;hp=901a20b2bed1d67d1301aa8646d46fd2bdf50c80;hb=3cf6471738dc704ddf553d5f8d2dc9875c2ccbe7;hpb=22715259a04497743afe7e33f5cf1e3b13bb097e diff --git a/src/thread.cpp b/src/thread.cpp index 901a20b2..c98c7867 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -143,7 +143,7 @@ void Thread::wait_for_stop_or_ponderhit() { Signals.stopOnPonderhit = true; mutex.lock(); - while (!Signals.stop) sleepCondition.wait(mutex);; + while (!Signals.stop) sleepCondition.wait(mutex); mutex.unlock(); }