]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Remove a wrong FIXME
[stockfish] / src / thread.h
index 87b78136f5c7851b992327cdc03d65205c7becc2..0a28f39bf5dc2f9bbf328acf12192eb5d7b1fe70 100644 (file)
@@ -54,7 +54,6 @@ struct SplitPoint {
   Depth depth;
   bool pvNode, mateThreat;
   Value beta;
-  int ply, master, slaves[MAX_THREADS];
   SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2];
 
   // Const pointers to shared data
@@ -65,9 +64,9 @@ struct SplitPoint {
   Lock lock;
   volatile Value alpha;
   volatile Value bestValue;
-  volatile int moves;
-  volatile int cpus;
+  volatile int moveCount;
   volatile bool stopRequest;
+  volatile int slaves[MAX_THREADS];
 };
 
 // ThreadState type is used to represent thread's current state
@@ -83,7 +82,7 @@ enum ThreadState
 };
 
 struct Thread {
-  SplitPoint* splitPoint;
+  SplitPoint* volatile splitPoint;
   volatile int activeSplitPoints;
   uint64_t nodes;
   uint64_t betaCutOffs[2];