}
// If this thread has been assigned work, launch a search
- if (state == Thread::WORKISWAITING)
+ if (state == Thread::SEARCHING)
{
assert(!do_terminate);
- state = Thread::SEARCHING;
-
// Copy split point position and search stack and call search()
SearchStack ss[PLY_MAX_PLUS_2];
SplitPoint* tsp = splitPoint;