]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Further refine SMP code
[stockfish] / src / thread.cpp
index 18870021ba3665bd026364a24594ca4bf57c26d8..786258a2ed564961fdb75f67024944aaf8c25d49 100644 (file)
@@ -153,7 +153,7 @@ void Thread::split(Position& pos, Stack* ss, Value alpha, Value beta, Value* bes
   // Pick and init the next available split point
   SplitPoint& sp = splitPoints[splitPointsSize];
 
-  sp.masterThread = this;
+  sp.master = this;
   sp.parentSplitPoint = activeSplitPoint;
   sp.slavesMask = 0, sp.slavesMask.set(idx);
   sp.depth = depth;