X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.h;h=3cc526ce5c127e3be85299e20775d4a42b9870f6;hb=deb212cb052b50caa68542cde8e14ef6c6a0a01c;hp=98576ccea2131a877edc2a61a16ff164219596c3;hpb=c28b9ef182b4a0c3d0483654ebc2b2aca4fc731c;p=stockfish diff --git a/src/thread.h b/src/thread.h index 98576cce..3cc526ce 100644 --- a/src/thread.h +++ b/src/thread.h @@ -38,7 +38,7 @@ //// Constants and variables //// -const int MAX_THREADS = 8; +const int MAX_THREADS = 16; const int MAX_ACTIVE_SPLIT_POINTS = 8; @@ -57,11 +57,10 @@ struct SplitPoint { 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; @@ -69,7 +68,7 @@ struct SplitPoint { volatile Value alpha; volatile Value bestValue; volatile int moveCount; - volatile bool stopRequest; + volatile bool betaCutoff; volatile int slaves[MAX_THREADS]; };