mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 02:47:45 +00:00
committed by
Marco Costalba
parent
c974d9ef33
commit
5c944fb3b4
@@ -2594,6 +2594,7 @@ namespace {
|
||||
// instead of wasting CPU time polling for work.
|
||||
while (AllThreadsShouldSleep || threadID >= ActiveThreads)
|
||||
{
|
||||
assert(!waitSp);
|
||||
assert(threadID != 0);
|
||||
threads[threadID].state = THREAD_SLEEPING;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user