X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=c1b635b7ea4db61dfca33ed0ee3423e3eeefb862;hp=dc0c51c28d5c2401e415ccde5ce361b43061a3b9;hb=750dfa0521472e86c67f870fe7ca413d670cafe2;hpb=802fca6fdd562c4c52397521eb0ac05cb2be9046 diff --git a/src/thread.h b/src/thread.h index dc0c51c2..c1b635b7 100644 --- a/src/thread.h +++ b/src/thread.h @@ -60,16 +60,16 @@ public: Material::Table materialTable; Endgames endgames; size_t idx, PVIdx; - int maxPly; + int selDepth; std::atomic nodes, tbHits; Position rootPos; Search::RootMoves rootMoves; Depth rootDepth; Depth completedDepth; - CounterMoveStat counterMoves; - ButterflyHistory history; - CounterMoveHistoryStat counterMoveHistory; + CounterMoveHistory counterMoves; + ButterflyHistory mainHistory; + ContinuationHistory contHistory; }; @@ -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; };