-
-/// ThreadPool::start_thinking() wakes up the main thread sleeping in idle_loop()
-/// and starts a new search, then returns immediately.
-
-void ThreadPool::start_thinking(const Position& pos, StateListPtr& states,
- const Search::LimitsType& limits) {
+void ThreadPool::start_thinking(Position& pos, StateListPtr& states,
+ const Search::LimitsType& limits, bool ponderMode) {