mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Reformat and simplify previous patch
No functional change.
This commit is contained in:
@@ -77,7 +77,7 @@ struct SplitPoint {
|
||||
// Shared data
|
||||
Mutex mutex;
|
||||
std::bitset<MAX_THREADS> 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 <bool Fake>
|
||||
void split(Position& pos, const Search::Stack* ss, Value alpha, Value beta, Value* bestValue, Move* bestMove,
|
||||
|
||||
Reference in New Issue
Block a user