Small tweak to idle_loop()
[stockfish] / src / search.cpp
index 50f5939..340d993 100644 (file)
@@ -1425,7 +1425,7 @@ void Thread::idle_loop() {
   while (!exit)
   {
       // If this thread has been assigned work, launch a search
-      if (searching)
+      while (searching)
       {
           Threads.mutex.lock();