]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Save mateThreat flag in splitPoint and make use of it
[stockfish] / src / thread.h
index 3800928b76a3eda5e4f8455f5797a9e790ea25fe..afbf226632cf78505729962609c01ae01cff5275 100644 (file)
@@ -53,7 +53,8 @@ struct SplitPoint {
   const Position* pos;
   bool pvNode;
   Depth depth;
-  Value beta, futilityValue;
+  bool mateThreat;
+  Value beta;
   int ply, master, slaves[MAX_THREADS];
   SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2];
 
@@ -87,7 +88,6 @@ struct Thread {
   volatile int activeSplitPoints;
   uint64_t nodes;
   uint64_t betaCutOffs[2];
-  volatile bool printCurrentLineRequest;
   volatile ThreadState state;
   unsigned char pad[64]; // set some distance among local data for each thread
 };