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