//// Constants and variables
////
-const int MAX_THREADS = 8;
+const int MAX_THREADS = 16;
const int MAX_ACTIVE_SPLIT_POINTS = 8;
// Shared data
Lock lock;
+ volatile int64_t nodes;
volatile Value alpha;
volatile Value bestValue;
volatile int moveCount;
- volatile bool stopRequest;
+ volatile bool betaCutoff;
volatile int slaves[MAX_THREADS];
};
};
struct Thread {
- uint64_t nodes;
volatile ThreadState state;
SplitPoint* volatile splitPoint;
volatile int activeSplitPoints;