]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Initialize a new split point out of lock
[stockfish] / src / thread.h
index 038d8e39f68f68ed4941847eeee5b6f1d507ea31..1e92b77625ac18419061353dae1df08e2dfd9acf 100644 (file)
@@ -119,7 +119,7 @@ public:
              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;