]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Add support for node limited search
[stockfish] / src / thread.h
index 38a29e8dc00d6c07bd88f097830ff8ce3d378a4c..f69012aeb0a3053130b85abada02704b7781d531 100644 (file)
@@ -75,6 +75,7 @@ struct SplitPoint {
 
   // Shared data
   Mutex mutex;
+  Position* activePositions[MAX_THREADS];
   volatile uint64_t slavesMask;
   volatile int64_t nodes;
   volatile Value alpha;
@@ -153,6 +154,7 @@ public:
               Depth depth, Move threatMove, int moveCount, MovePicker* mp, int nodeType);
 private:
   friend class Thread;
+  friend void check_time();
 
   std::vector<Thread*> threads;
   Thread* timer;