X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=4447efeecab4d911a1f0a7395c1d35d2df06c504;hp=0a8bacf7d09acebf34d40145697338b8fb970a10;hb=dba1bc354a74bf7774c453ac779b3ce462c2b8e2;hpb=4b19430103ac75b574a6b269db447d359814b603 diff --git a/src/thread.cpp b/src/thread.cpp index 0a8bacf7..4447efee 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -365,12 +365,11 @@ Value ThreadPool::split(Position& pos, Stack* ss, Value alpha, Value beta, // Everything is set up. The master thread enters the idle loop, from which // it will instantly launch a search, because its is_searching flag is set. - // We pass the split point as a parameter to the idle loop, which means that - // the thread will return from the idle loop when all slaves have finished + // The thread will return from the idle loop when all slaves have finished // their work at this split point. if (slavesCnt || Fake) { - master->idle_loop(sp); + master->idle_loop(); // In helpful master concept a master can help only a sub-tree of its split // point, and because here is all finished is not possible master is booked.