//// Constants and variables
////
-const int MAX_THREADS = 8;
+const int MAX_THREADS = 16;
const int MAX_ACTIVE_SPLIT_POINTS = 8;
int ply;
int master;
Move threatMove;
- SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2];
// Const pointers to shared data
MovePicker* mp;
- SearchStack* parentSstack;
+ SearchStack* ss;
// Shared data
Lock lock;
volatile Value alpha;
volatile Value bestValue;
volatile int moveCount;
- volatile bool stopRequest;
+ volatile bool betaCutoff;
volatile int slaves[MAX_THREADS];
};