X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=dea9d79720112ed77902696b8b45877d77ffd5c0;hp=10d120140843dcd17b1c6977729526a8ae7f4e7d;hb=b1cf1acb93532248fb10c2ca983d80389d5aeb84;hpb=51e8efdab5f62ebc23e4f7adaea96f619cbca194 diff --git a/src/thread.h b/src/thread.h index 10d12014..dea9d797 100644 --- a/src/thread.h +++ b/src/thread.h @@ -40,7 +40,6 @@ struct SplitPoint { Depth depth; Value beta; int nodeType; - int ply; int master; Move threatMove; @@ -55,7 +54,7 @@ struct SplitPoint { volatile Value alpha; volatile Value bestValue; volatile int moveCount; - volatile bool is_betaCutoff; + volatile bool cutoff; }; @@ -72,6 +71,7 @@ struct Thread { void idle_loop(SplitPoint* sp_master); void main_loop(); void timer_loop(); + void wait_for_stop_or_ponderhit(); SplitPoint splitPoints[MAX_ACTIVE_SPLIT_POINTS]; MaterialInfoTable materialTable; @@ -111,7 +111,6 @@ public: void read_uci_options(); bool available_slave_exists(int master) const; void set_timer(int msec); - void wait_for_stop_or_ponderhit(); void stop_thinking(); void start_thinking(const Position& pos, const Search::LimitsType& limits, const std::set& = std::set(), bool async = false);