X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=f69012aeb0a3053130b85abada02704b7781d531;hp=38a29e8dc00d6c07bd88f097830ff8ce3d378a4c;hb=ed0fb0b05fa72ccc6333bf5331eb9abeb7c86457;hpb=e5463eb3ae6c1a035fe1da717fb88568ee654237 diff --git a/src/thread.h b/src/thread.h index 38a29e8d..f69012ae 100644 --- a/src/thread.h +++ b/src/thread.h @@ -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 threads; Thread* timer;