]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Move sleepLock and sleepCond under Thread
[stockfish] / src / thread.h
index 64804d45e19f9b882010ff1a0751a53cc3fade31..3b539aa86e66cb88e4179e6f295d9758e273cf5e 100644 (file)
@@ -68,6 +68,8 @@ enum ThreadState
 };
 
 struct Thread {
+  Lock sleepLock;
+  WaitCondition sleepCond;
   volatile ThreadState state;
   SplitPoint* volatile splitPoint;
   volatile int activeSplitPoints;