X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=ddeb49021e82977175261f53872fdaac647cf3dd;hp=c5690a02634885f5abdf69171660317a45721bbf;hb=a1a7bc84da4a6f180179e437494dd485cba1711d;hpb=c9dcda6ac488c0058ebd567e1f52e30b8cd0db20 diff --git a/src/thread.h b/src/thread.h index c5690a02..ddeb4902 100644 --- a/src/thread.h +++ b/src/thread.h @@ -76,7 +76,7 @@ struct SplitPoint { // Shared data Mutex mutex; volatile uint64_t slavesMask; - volatile int64_t nodes; + volatile uint64_t nodes; volatile Value alpha; volatile Value bestValue; volatile Move bestMove; @@ -162,12 +162,10 @@ struct ThreadPool : public std::vector { void read_uci_options(); Thread* available_slave(const Thread* master) const; void wait_for_think_finished(); - void start_thinking(const Position&, const Search::LimitsType&, - const std::vector&, Search::StateStackPtr&); + void start_thinking(const Position&, const Search::LimitsType&, Search::StateStackPtr&); bool sleepWhileIdle; Depth minimumSplitDepth; - size_t maxThreadsPerSplitPoint; Mutex mutex; ConditionVariable sleepCondition; TimerThread* timer;