]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Clarify some comments in SMP code
[stockfish] / src / thread.cpp
index 0ebf82f92daf8b46dbfc45a6c0fce363ef4c6808..06244dc9bb957c41f5d47d13ed64aa59a40c6bf8 100644 (file)
@@ -194,7 +194,8 @@ void ThreadPool::init() {
 }
 
 
-// exit() cleanly terminates the threads before the program exits
+// exit() cleanly terminates the threads before the program exits. Cannot be done in
+// d'tor because we have to terminate the threads before to free ThreadPool object.
 
 void ThreadPool::exit() {