projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab58010
)
Revert "Check for an available slave early on"
author
Gary Linscott
<glinscott@gmail.com>
Thu, 26 Jun 2014 15:16:36 +0000
(11:16 -0400)
committer
Gary Linscott
<glinscott@gmail.com>
Thu, 26 Jun 2014 15:16:36 +0000
(11:16 -0400)
This reverts commit
ce1c260ea97c14eea996d0a2638f4876ccbc412b
.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index 24fde88fc0ef5c1087cb43bdfd41a87d81c35f7f..28fecf87c979cf26312c3c9ced4e277ee93a7129 100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-978,8
+978,8
@@
moves_loop: // When in check and at SpNode search starts from here
// Step 19. Check for splitting the search
if ( !SpNode
+ && Threads.size() >= 2
&& depth >= Threads.minimumSplitDepth
- && Threads.available_slave(thisThread)
&& ( !thisThread->activeSplitPoint
|| !thisThread->activeSplitPoint->allSlavesSearching)
&& thisThread->splitPointsSize < MAX_SPLITPOINTS_PER_THREAD)