mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Another split() tweak session
Function split() doesn't need to return a value, also remove useless 'master' field. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ struct SplitPoint {
|
||||
Depth depth;
|
||||
bool pvNode, mateThreat;
|
||||
Value beta;
|
||||
int ply, master;
|
||||
int ply;
|
||||
SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2];
|
||||
|
||||
// Const pointers to shared data
|
||||
@@ -65,7 +65,7 @@ struct SplitPoint {
|
||||
Lock lock;
|
||||
volatile Value alpha;
|
||||
volatile Value bestValue;
|
||||
volatile int moves;
|
||||
volatile int moveCount;
|
||||
volatile bool stopRequest;
|
||||
volatile int slaves[MAX_THREADS];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user