X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=66df55b5473d060f6e6db2f68ebec1ab25455ecd;hp=edc4ee31833d38a0779f39233a8db280e9983ab4;hb=7e3dba4f4ca6166068946552ec5720a179175f62;hpb=f6e98a924af233a5e69f3494168cf5d80168c705 diff --git a/src/thread.h b/src/thread.h index edc4ee31..66df55b5 100644 --- a/src/thread.h +++ b/src/thread.h @@ -77,7 +77,7 @@ struct SplitPoint { // Shared data Mutex mutex; std::bitset slavesMask; - volatile bool allowLatejoin; + volatile bool allSlavesSearching; volatile uint64_t nodes; volatile Value alpha; volatile Value bestValue; @@ -114,9 +114,8 @@ struct Thread : public ThreadBase { Thread(); virtual void idle_loop(); - bool attempt_to_latejoin(); bool cutoff_occurred() const; - bool available_to(const Thread* master, bool latejoin) const; + bool available_to(const Thread* master) const; template void split(Position& pos, const Search::Stack* ss, Value alpha, Value beta, Value* bestValue, Move* bestMove,