- Threads.start_thinking(pos, limits, st);
- Threads.main()->join();
- nodes += Search::RootPos.nodes_searched();
+ limits.startTime = now();
+ Threads.start_thinking(pos, states, limits);
+ Threads.main()->wait_for_search_finished();
+ nodes += Threads.nodes_searched();