]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Fix a race on Limits::ponder
[stockfish] / src / thread.h
index c1b635b7ea4db61dfca33ed0ee3423e3eeefb862..3512605c67aaa8120a0cfbea30012ca969894a41 100644 (file)
@@ -101,7 +101,7 @@ struct ThreadPool : public std::vector<Thread*> {
   uint64_t nodes_searched() const;
   uint64_t tb_hits() const;
 
-  std::atomic_bool stop, stopOnPonderhit;
+  std::atomic_bool stop, ponder, stopOnPonderhit;
 
 private:
   StateListPtr setupStates;