if (!file.is_open())
{
cerr << "Unable to open file " << fenFile << endl;
- exit(EXIT_FAILURE);
+ return;
}
while (getline(file, fen))
}
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();
}
}