]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Prefer int to uint8_t when possible
[stockfish] / src / thread.h
index 965bd30b9f43d6b9e6abdf128176e7ec3c56a2ca..44b70e1e64311e910f7e4cb2cfd61b7939535214 100644 (file)
@@ -55,7 +55,6 @@ struct SplitPoint {
   bool pvNode, mateThreat;
   Value beta;
   int ply;
-  int master;
   Move threatMove;
   SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2];
 
@@ -65,6 +64,7 @@ struct SplitPoint {
 
   // Shared data
   Lock lock;
+  volatile int64_t nodes;
   volatile Value alpha;
   volatile Value bestValue;
   volatile int moveCount;
@@ -85,7 +85,6 @@ enum ThreadState
 };
 
 struct Thread {
-  uint64_t nodes;
   volatile ThreadState state;
   SplitPoint* volatile splitPoint;
   volatile int activeSplitPoints;