1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00

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
commit 22ffb588e5

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)