From fb5ba1d32912a3b5fc405511fc34d504df5393b9 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 13 Feb 2010 13:40:23 +0100 Subject: [PATCH] Fix compile error under gcc Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 54266914..46542560 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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); -- 2.39.2