Use size_t consistently across thread code

No functional change.
This commit is contained in:
Marco Costalba
2015-02-19 10:43:28 +01:00
parent 8d47caa16e
commit 950c8436ed
3 changed files with 8 additions and 7 deletions

View File

@@ -31,8 +31,8 @@
struct Thread;
const int MAX_THREADS = 128;
const int MAX_SPLITPOINTS_PER_THREAD = 8;
const size_t MAX_THREADS = 128;
const size_t MAX_SPLITPOINTS_PER_THREAD = 8;
const size_t MAX_SLAVES_PER_SPLITPOINT = 4;
/// Mutex and ConditionVariable struct are wrappers of the low level locking
@@ -136,7 +136,7 @@ struct Thread : public ThreadBase {
size_t idx;
int maxPly;
SplitPoint* volatile activeSplitPoint;
volatile int splitPointsSize;
volatile size_t splitPointsSize;
volatile bool searching;
};