mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Introduce and use wait_for_search_finished()
Helper function that allows us to simplify the code. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user