]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Introduce ThreadsManager class
[stockfish] / src / thread.h
index 14924bf2280662be82523e81e94d09a7136d1c16..3dc0f274ba7d21a853bcfc11ad2948b3dbb537c1 100644 (file)
@@ -66,9 +66,6 @@ struct SplitPoint {
 
 
 struct Thread {
-
-  Thread() { memset(this, 0, sizeof(Thread)); }
-
   SplitPoint *splitPoint;
   volatile int activeSplitPoints;
   uint64_t nodes;
@@ -78,7 +75,7 @@ struct Thread {
   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
 };