]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Improve comments in SMP code
[stockfish] / src / thread.cpp
index 279d9cfe2cdede4a254a126346530ab3c6925357..a466df87cbb9a2dfa5fa2b9280a858414de71706 100644 (file)
@@ -145,7 +145,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;