Sync with master

bench: 7911944
This commit is contained in:
Marco Costalba
2015-02-20 10:36:45 +01:00
4 changed files with 66 additions and 34 deletions
+4 -3
View File
@@ -34,8 +34,9 @@
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;
/// SplitPoint struct stores information shared by the threads searching in
/// parallel below the same split point. It is populated at splitting time.
@@ -108,7 +109,7 @@ struct Thread : public ThreadBase {
size_t idx;
int maxPly;
SplitPoint* volatile activeSplitPoint;
volatile int splitPointsSize;
volatile size_t splitPointsSize;
volatile bool searching;
};