Introduce and use wait_for_search_finished()
[stockfish] / src / benchmark.cpp
index 4124899b33d4fd7a1b84a36a3eb1490b29509166..9f0ac0c145b220798eaab1449e8b848f3c411b94 100644 (file)
@@ -118,7 +118,7 @@ void benchmark(int argc, char* argv[]) {
       }
       else
       {
-          Threads.start_thinking(pos, limits);
+          Threads.start_searching(pos, limits);
           nodes += Search::RootPosition.nodes_searched();
       }
   }