projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
78e494f
)
Fix compile error under gcc
author
Marco Costalba
<mcostalba@gmail.com>
Sat, 13 Feb 2010 12:40:23 +0000 (13:40 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sat, 13 Feb 2010 12:40:23 +0000 (13:40 +0100)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
5426691
..
4654256
100644
(file)
--- 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);