Merge pull request #8 from glinscott/revert_ce1c260

Revert "Check for an available slave early on"
This commit is contained in:
Gary Linscott
2014-06-26 08:20:45 -07:00
+1 -1
View File
@@ -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)