X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=77517b07fe85aeb2212bd048a7c792c12c6a32eb;hp=c254047c23f4ce90a04415bcc97090f3c57aae0b;hb=36a93d90f76d32e16a5f2acb09b7de2d67225021;hpb=05513a66410f96959f3a6e70be9aea72425cf7c7 diff --git a/src/thread.h b/src/thread.h index c254047c..77517b07 100644 --- a/src/thread.h +++ b/src/thread.h @@ -65,7 +65,7 @@ public: Position rootPos; Search::RootMoves rootMoves; - std::atomic rootDepth; + Depth rootDepth; Depth completedDepth; CounterMoveStat counterMoves; ButterflyHistory history; @@ -101,6 +101,8 @@ struct ThreadPool : public std::vector { uint64_t nodes_searched() const; uint64_t tb_hits() const; + std::atomic_bool stop, stopOnPonderhit; + private: StateListPtr setupStates; };