]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Search negative SEE moves in qsearch in PV
[stockfish] / src / thread.h
index d8eee1c126de09aaec29c999783a245caa11f329..fd4f42cfeb317d7339f2101c90d63972ad5f0669 100644 (file)
@@ -26,6 +26,8 @@
 //// Includes
 ////
 
+#include <cstring>
+
 #include "lock.h"
 #include "movepick.h"
 #include "position.h"
@@ -68,12 +70,12 @@ struct Thread {
   volatile int activeSplitPoints;
   uint64_t nodes;
   uint64_t betaCutOffs[2];
-  volatile bool stop;
+  volatile bool stopRequest;
   volatile bool running;
   volatile bool idle;
   volatile bool sleeping;
   volatile bool workIsWaiting;
-  volatile bool printCurrentLine;
+  volatile bool printCurrentLineRequest;
   unsigned char pad[64]; // set some distance among local data for each thread
 };