]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Clarify slavesMask usage
[stockfish] / src / thread.h
index 5f8ad28e2be4c7f04676a7ba315213145ab88e02..ad17e8b270c788aa79863997db77ea65c4b432aa 100644 (file)
@@ -153,7 +153,7 @@ public:
   bool slave_available(Thread* master) const;
   void wait_for_think_finished();
   void start_thinking(const Position&, const Search::LimitsType&,
-                       const std::vector<Move>&, Search::StateStackPtr&);
+                      const std::vector<Move>&, Search::StateStackPtr&);
 
   template <bool Fake>
   Value split(Position& pos, Search::Stack* ss, Value alpha, Value beta, Value bestValue, Move* bestMove,
@@ -167,7 +167,7 @@ public:
 private:
   std::vector<Thread*> threads;
   TimerThread* timer;
-  int maxThreadsPerSplitPoint;
+  size_t maxThreadsPerSplitPoint;
 };
 
 extern ThreadPool Threads;