mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Don't uselessy share rootDepth
It is not needed becuase the only case is a real special one (bench on depth with many threads) and can be easily rewritten to avoid sharing rootDepth. Verified with ThreadSanitizer. No functional change. Closes #1159
This commit is contained in:
committed by
Joona Kiiski
parent
01b6cdb76b
commit
802fca6fdd
@@ -65,7 +65,7 @@ public:
|
||||
|
||||
Position rootPos;
|
||||
Search::RootMoves rootMoves;
|
||||
std::atomic<Depth> rootDepth;
|
||||
Depth rootDepth;
|
||||
Depth completedDepth;
|
||||
CounterMoveStat counterMoves;
|
||||
ButterflyHistory history;
|
||||
|
||||
Reference in New Issue
Block a user