X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=42c44aa946f06b6fad5c0bb7b1b8f61076738aeb;hp=0265ee670b2ea9e84765a8b6208f8b1f8ccb2e9c;hb=8d47caa16ec9d2efad44f2638ce7d7637216d281;hpb=dccaa145d2b57999aa3e368c7c9203731b4e9685 diff --git a/src/thread.h b/src/thread.h index 0265ee67..42c44aa9 100644 --- a/src/thread.h +++ b/src/thread.h @@ -33,7 +33,7 @@ struct Thread; const int MAX_THREADS = 128; const int MAX_SPLITPOINTS_PER_THREAD = 8; -const int MAX_SLAVES_PER_SPLITPOINT = 4; +const size_t MAX_SLAVES_PER_SPLITPOINT = 4; /// Mutex and ConditionVariable struct are wrappers of the low level locking /// machinery and are modeled after the corresponding C++11 classes. @@ -85,7 +85,6 @@ struct SplitPoint { // Shared variable data Mutex mutex; std::bitset slavesMask; - int slavesCount; volatile bool allSlavesSearching; volatile uint64_t nodes; volatile Value alpha;