X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthread.h;h=782694ad7d25607e8161b1be8ce9803022222332;hb=e0056c3851c3caa1fed7114d551017e502c0f4be;hp=66acf6f80808ab5ff6638f555a5aaff4bab1d6a6;hpb=16d6faf479fb0b18ba0342e8bcf9a69eb4f7a77a;p=stockfish diff --git a/src/thread.h b/src/thread.h index 66acf6f8..782694ad 100644 --- a/src/thread.h +++ b/src/thread.h @@ -54,7 +54,7 @@ struct SplitPoint { Depth depth; bool pvNode, mateThreat; Value beta; - int ply, master; + int ply; SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2]; // Const pointers to shared data @@ -65,7 +65,7 @@ struct SplitPoint { Lock lock; volatile Value alpha; volatile Value bestValue; - volatile int moves; + volatile int moveCount; volatile bool stopRequest; volatile int slaves[MAX_THREADS]; }; @@ -83,7 +83,7 @@ enum ThreadState }; struct Thread { - SplitPoint* splitPoint; + SplitPoint* volatile splitPoint; volatile int activeSplitPoints; uint64_t nodes; uint64_t betaCutOffs[2];