mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Allow threads to sleep when available
By mean of an an UCI option it is possible let the available threads to sleep, this should help with Hyper Threading although is not the best solution when number of threads equals number of available cores. Option is disabled by default. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -55,6 +55,7 @@ struct SplitPoint {
|
||||
bool pvNode, mateThreat;
|
||||
Value beta;
|
||||
int ply;
|
||||
int master;
|
||||
Move threatMove;
|
||||
SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user