projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a data race for NNUE
[stockfish]
/
src
/
thread.h
diff --git
a/src/thread.h
b/src/thread.h
index 46da1e348d128fbf01a8f39c458c8a57b3b94450..042bc2e9231588d5db2bd1fc4b5a097658df6399 100644
(file)
--- a/
src/thread.h
+++ b/
src/thread.h
@@
-65,6
+65,7
@@
public:
std::atomic<uint64_t> nodes, tbHits, bestMoveChanges;
Position rootPos;
+ StateInfo rootState;
Search::RootMoves rootMoves;
Depth rootDepth, completedDepth;
CounterMoveHistory counterMoves;