//// Includes
////
+#include <cstring>
+
#include "lock.h"
#include "movepick.h"
#include "position.h"
struct Thread {
+
+ Thread() { memset(this, 0, sizeof(Thread)); }
+
SplitPoint *splitPoint;
volatile int activeSplitPoints;
uint64_t nodes;
volatile bool stop;
volatile bool running;
volatile bool idle;
+ volatile bool sleeping;
volatile bool workIsWaiting;
volatile bool printCurrentLine;
unsigned char pad[64]; // set some distance among local data for each thread