X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=344cfb794782d7a559194ccf7007645c2bc63bd2;hp=06244dc9bb957c41f5d47d13ed64aa59a40c6bf8;hb=9f843adf8972f3b561fc75d5d874ff21063a9f9d;hpb=bfd8704a7d477a3a4d3ded55e263e7fcea2715aa diff --git a/src/thread.cpp b/src/thread.cpp index 06244dc9..344cfb79 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -181,13 +181,12 @@ void MainThread::idle_loop() { // init() is called at startup to create and launch requested threads, that will -// go immediately to sleep due to 'sleepWhileIdle' set to true. We cannot use -// a c'tor because Threads is a static object and we need a fully initialized -// engine at this point due to allocation of Endgames in Thread c'tor. +// go immediately to sleep. We cannot use a c'tor because Threads is a static +// object and we need a fully initialized engine at this point due to allocation +// of Endgames in Thread c'tor. void ThreadPool::init() { - sleepWhileIdle = true; timer = new_thread(); push_back(new_thread()); read_uci_options();