mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
Fix compile error under gcc
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -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