]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Don't wake up /sleep threads in think() anymore
[stockfish] / src / search.h
index 61a33242124f3f68515d4d87a9907af9a5c49a64..4bb8b0ad1d3ae67bd4466a270c9c4004535f1932 100644 (file)
@@ -36,7 +36,6 @@
 
 const int PLY_MAX = 100;
 const int PLY_MAX_PLUS_2 = 102;
-const int KILLER_MAX = 2;
 
 
 ////
@@ -48,20 +47,19 @@ const int KILLER_MAX = 2;
 /// search thread has its own array of SearchStack objects, indexed by the
 /// current ply.
 struct EvalInfo;
+struct SplitPoint;
 
 struct SearchStack {
   Move currentMove;
   Move mateKiller;
-  Move threatMove;
   Move excludedMove;
   Move bestMove;
-  Move killers[KILLER_MAX];
+  Move killers[2];
   Depth reduction;
   Value eval;
+  Value evalMargin;
   bool skipNullMove;
-
-  void init();
-  void initKillers();
+  SplitPoint* sp;
 };