projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(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
24fde88
..
28fecf8
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)