Big renaming in thread stuff
[stockfish] / src / benchmark.cpp
index 4a383f00d5ccf85bbfd271486e9b8376b4e99d38..fd45d26efd5c2f0eef256ada5e1bfc2bcbe434cf 100644 (file)
@@ -130,8 +130,8 @@ void benchmark(const Position& current, istream& is) {
       }
       else
       {
-          Threads.start_searching(pos, limits, vector<Move>(), st);
-          Threads.wait_for_search_finished();
+          Threads.start_thinking(pos, limits, vector<Move>(), st);
+          Threads.wait_for_think_finished();
           nodes += Search::RootPos.nodes_searched();
       }
   }