mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Fix compile error under gcc
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -2788,7 +2788,7 @@ namespace {
|
||||
|
||||
#if !defined(_MSC_VER)
|
||||
pthread_mutex_lock(&WaitLock);
|
||||
if (Idle || threadID >= ActiveThreads)
|
||||
if (AllThreadsShouldSleep || threadID >= ActiveThreads)
|
||||
pthread_cond_wait(&WaitCond, &WaitLock);
|
||||
|
||||
pthread_mutex_unlock(&WaitLock);
|
||||
|
||||
Reference in New Issue
Block a user