- MainThread* main() { return static_cast<MainThread*>(at(0)); }
- void start_thinking(Position&, StateListPtr&, const Search::LimitsType&);
- void read_uci_options();
- uint64_t nodes_searched() const;
- uint64_t tb_hits() const;
+ std::atomic_bool stop, increaseDepth;
+
+ auto cbegin() const noexcept { return threads.cbegin(); }
+ auto begin() noexcept { return threads.begin(); }
+ auto end() noexcept { return threads.end(); }
+ auto cend() const noexcept { return threads.cend(); }
+ auto size() const noexcept { return threads.size(); }
+ auto empty() const noexcept { return threads.empty(); }