]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Retire splitPoint->cpus field
[stockfish] / src / thread.h
index 87b78136f5c7851b992327cdc03d65205c7becc2..66acf6f80808ab5ff6638f555a5aaff4bab1d6a6 100644 (file)
@@ -54,7 +54,7 @@ struct SplitPoint {
   Depth depth;
   bool pvNode, mateThreat;
   Value beta;
-  int ply, master, slaves[MAX_THREADS];
+  int ply, master;
   SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2];
 
   // Const pointers to shared data
@@ -66,8 +66,8 @@ struct SplitPoint {
   volatile Value alpha;
   volatile Value bestValue;
   volatile int moves;
-  volatile int cpus;
   volatile bool stopRequest;
+  volatile int slaves[MAX_THREADS];
 };
 
 // ThreadState type is used to represent thread's current state