- bool available_slave_exists(int master) const;
-
- void getline(std::string& cmd);
- void start_listener();
- void stop_listener();
- void set_timer(int msec);
-
- template <bool Fake>
- Value split(Position& pos, SearchStack* ss, Value alpha, Value beta, Value bestValue,
- Depth depth, Move threatMove, int moveCount, MovePicker* mp, int nodeType);
-private:
- friend struct Thread;
-
- Thread threads[MAX_THREADS + 2]; // Last 2 are the listener and the timer
- Lock threadsLock;
- Depth minimumSplitDepth;
- int maxThreadsPerSplitPoint;
- int activeThreads;
- bool useSleepingThreads;
- WaitCondition sleepCond;
- std::string inputLine;
+ void start_thinking(const Position&, const Search::LimitsType&, Search::StateStackPtr&);
+ int64_t nodes_searched();
+ TimerThread* timer;