X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=0f117c2d2a7426040424abce254b5ee57ed67618;hp=7666a34fbaba39110c181de72eb1e584f435a462;hb=3cb02004596f868ae405b09fbf3a2038a680a989;hpb=2c237da54647bb7526f3512bea183eb44919cdda diff --git a/src/thread.h b/src/thread.h index 7666a34f..0f117c2d 100644 --- a/src/thread.h +++ b/src/thread.h @@ -61,11 +61,12 @@ public: Endgames endgames; size_t idx, PVIdx; int maxPly, callsCnt; - uint64_t tbHits; + std::atomic tbHits; + std::atomic nodes; Position rootPos; Search::RootMoves rootMoves; - Depth rootDepth; + std::atomic rootDepth; Depth completedDepth; std::atomic_bool resetCalls; CounterMoveStat counterMoves;