X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=1e92b77625ac18419061353dae1df08e2dfd9acf;hp=100620313fcebc7e7f5f6161fe15b600b0a9929e;hb=9a542d96981e6cb45b6b01f17258a078cf27da36;hpb=d15217b953af28669dd3e5b46303b3ca882f353e diff --git a/src/thread.h b/src/thread.h index 10062031..1e92b776 100644 --- a/src/thread.h +++ b/src/thread.h @@ -38,7 +38,7 @@ struct SplitPoint { const Position* pos; Depth depth; Value beta; - int pvNode; + int nodeType; int ply; int master; Move threatMove; @@ -116,10 +116,10 @@ public: template void split(Position& pos, SearchStack* ss, Value* alpha, const Value beta, Value* bestValue, - Depth depth, Move threatMove, int moveCount, MovePicker* mp, bool pvNode); + Depth depth, Move threatMove, int moveCount, MovePicker* mp, int nodeType); private: Thread threads[MAX_THREADS]; - Lock mpLock; + Lock threadsLock; Depth minimumSplitDepth; int maxThreadsPerSplitPoint; int activeThreads;