+ void init(); // No c'tor and d'tor, threads rely on globals that should
+ void exit(); // be initialized and are valid during the whole thread lifetime.
+
+ MainThread* main() { return static_cast<MainThread*>((*this)[0]); }
+ void read_uci_options();
+ Thread* available_slave(const Thread* master) const;
+ void wait_for_think_finished();
+ void start_thinking(const Position&, const Search::LimitsType&, Search::StateStackPtr&);
+
+ bool sleepWhileIdle;
+ Depth minimumSplitDepth;
+ size_t maxThreadsPerSplitPoint;