X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=2e3f9d5663718ad4cac483c1d46b630cc5888d36;hp=775ad3effeddd7275f3f1769fa3bf350d8dcb412;hb=c974d9ef3311c17810be63a3f68ffd44a4de3819;hpb=12feb5866fdaff20df42a77e19b75b24602f13bc diff --git a/src/search.cpp b/src/search.cpp index 775ad3ef..2e3f9d56 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -2960,12 +2960,9 @@ namespace { // This makes the threads to go to sleep AllThreadsShouldSleep = true; - // Wait for the threads to be all sleeping and reset flags - // to a known state. + // Reset flags to a known state. for (int i = 1; i < ActiveThreads; i++) { - while (threads[i].state != THREAD_SLEEPING); - // This flag can be in a random state threads[i].printCurrentLineRequest = false; }