}
-/// stop_threads() is called when the program exits. It makes all the
+/// exit_threads() is called when the program exits. It makes all the
/// helper threads exit cleanly.
-void stop_threads() {
+void exit_threads() {
ActiveThreads = THREAD_MAX; // HACK
AllThreadsShouldSleep = false; // HACK
extern void init_search();
extern void init_threads();
-extern void stop_threads();
+extern void exit_threads();
extern bool think(const Position &pos, bool infinite, bool ponder, int side_to_move,
int time[], int increment[], int movesToGo, int maxDepth,
int maxNodes, int maxTime, Move searchMoves[]);