X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=86fce6aa0c20020b6c54666c874a5231793d6c9e;hp=b4e9f8aa0269f21cfab7eb77a07f980f98634856;hb=44236f4ed9844598e1cb065937c3770a938964b2;hpb=05513a66410f96959f3a6e70be9aea72425cf7c7 diff --git a/src/thread.cpp b/src/thread.cpp index b4e9f8aa..86fce6aa 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -35,7 +35,7 @@ ThreadPool Threads; // Global object Thread::Thread() { exit = false; - maxPly = 0; + selDepth = 0; nodes = tbHits = 0; idx = Threads.size(); // Start from 0 @@ -187,7 +187,7 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states, main()->wait_for_search_finished(); - Search::Signals.stopOnPonderhit = Search::Signals.stop = false; + stopOnPonderhit = stop = false; Search::Limits = limits; Search::RootMoves rootMoves; @@ -210,7 +210,6 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states, for (Thread* th : Threads) { - th->maxPly = 0; th->nodes = 0; th->tbHits = 0; th->rootDepth = DEPTH_ZERO;