X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=dfe18bc88599f75e8340fbf5163958681b88a16b;hp=78a72beccfdc777e549a7dd786d8483208089b9f;hb=55948623e7b8ad1fc6624cd06733b16d295eecb8;hpb=5ee16a180a7eb3f51f7cabd86cf17d8c217b13b3 diff --git a/src/search.cpp b/src/search.cpp index 78a72bec..dfe18bc8 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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;