]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Rework Thread hierarchy
[stockfish] / src / search.cpp
index 78a72beccfdc777e549a7dd786d8483208089b9f..dfe18bc88599f75e8340fbf5163958681b88a16b 100644 (file)
@@ -809,7 +809,7 @@ moves_loop: // When in check and at SpNode search starts from here
       {
           Signals.firstRootMove = (moveCount == 1);
 
-          if (thisThread == Threads.main_thread() && Time::now() - SearchTime > 3000)
+          if (thisThread == Threads.main() && Time::now() - SearchTime > 3000)
               sync_cout << "info depth " << depth / ONE_PLY
                         << " currmove " << move_to_uci(move, pos.is_chess960())
                         << " currmovenumber " << moveCount + PVIdx << sync_endl;