]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Move stop signal to Threads
[stockfish] / src / thread.h
index dc0c51c28d5c2401e415ccde5ce361b43061a3b9..77517b07fe85aeb2212bd048a7c792c12c6a32eb 100644 (file)
@@ -101,6 +101,8 @@ struct ThreadPool : public std::vector<Thread*> {
   uint64_t nodes_searched() const;
   uint64_t tb_hits() const;
 
+  std::atomic_bool stop, stopOnPonderhit;
+
 private:
   StateListPtr setupStates;
 };