mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Rename stop_threads() to exit_threads()
More stick to what actually happens. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-2
@@ -612,10 +612,10 @@ void init_threads() {
|
||||
}
|
||||
|
||||
|
||||
/// 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
|
||||
|
||||
Reference in New Issue
Block a user