]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Use gain table to order non-captures
[stockfish] / src / thread.h
index d12ec845c01f4bc4a288bd6bfe076b8652ca9b5b..302895095f856927e9061f42eab8e7aab4c98c48 100644 (file)
@@ -51,7 +51,8 @@ struct SplitPoint {
   SearchStack *parentSstack;
   int ply;
   Depth depth;
-  volatile Value alpha, beta, bestValue, futilityValue;
+  volatile Value alpha, beta, bestValue;
+  Value futilityValue;
   bool pvNode;
   int master, slaves[THREAD_MAX];
   Lock lock;
@@ -64,10 +65,9 @@ struct SplitPoint {
 
 struct Thread {
   SplitPoint *splitPoint;
-  int activeSplitPoints;
+  volatile int activeSplitPoints;
   uint64_t nodes;
   uint64_t betaCutOffs[2];
-  bool failHighPly1;
   volatile bool stop;
   volatile bool running;
   volatile bool idle;