X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.h;h=10d120140843dcd17b1c6977729526a8ae7f4e7d;hb=57e942145c113e9d1bed7eeef5089dd22eedaad6;hp=beb09e4d5df5700a212bb08db0b84e5a7c161a9a;hpb=7fb6fd2f558c9e2967fb393238d1dbe063f2d277;p=stockfish diff --git a/src/thread.h b/src/thread.h index beb09e4d..10d12014 100644 --- a/src/thread.h +++ b/src/thread.h @@ -123,12 +123,12 @@ private: friend struct Thread; Thread threads[MAX_THREADS + 1]; // Last one is used as a timer - Lock threadsLock; + Lock splitLock; + WaitCondition sleepCond; Depth minimumSplitDepth; int maxThreadsPerSplitPoint; int activeThreads; bool useSleepingThreads; - WaitCondition sleepCond; }; extern ThreadsManager Threads;