]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Use std::vector<Thread*> to store threads
[stockfish] / src / search.cpp
index cc82af7dbf1a88959316b2c8dd3c025f6cf78227..a76a9521c9ee7a19d7ee52c231414a4ce111ba13 100644 (file)
@@ -310,8 +310,7 @@ void Search::think() {
   // We're ready to start searching. Call the iterative deepening loop function
   id_loop(pos);
 
-  // Stop timer and send all the slaves to sleep, if not already sleeping
-  Threads.set_timer(0);
+  Threads.set_timer(0); // Stop timer
   Threads.sleep();
 
   if (Options["Use Search Log"])