mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Merge pull request #8 from glinscott/revert_ce1c260
Revert "Check for an available slave early on"
This commit is contained in:
commit
22ffb588e5
1 changed files with 1 additions and 1 deletions
|
@ -978,8 +978,8 @@ moves_loop: // When in check and at SpNode search starts from here
|
||||||
|
|
||||||
// Step 19. Check for splitting the search
|
// Step 19. Check for splitting the search
|
||||||
if ( !SpNode
|
if ( !SpNode
|
||||||
|
&& Threads.size() >= 2
|
||||||
&& depth >= Threads.minimumSplitDepth
|
&& depth >= Threads.minimumSplitDepth
|
||||||
&& Threads.available_slave(thisThread)
|
|
||||||
&& ( !thisThread->activeSplitPoint
|
&& ( !thisThread->activeSplitPoint
|
||||||
|| !thisThread->activeSplitPoint->allSlavesSearching)
|
|| !thisThread->activeSplitPoint->allSlavesSearching)
|
||||||
&& thisThread->splitPointsSize < MAX_SPLITPOINTS_PER_THREAD)
|
&& thisThread->splitPointsSize < MAX_SPLITPOINTS_PER_THREAD)
|
||||||
|
|
Loading…
Add table
Reference in a new issue