X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.h;h=3d175483169c6fea6ad4d7e6810fdff3588b168f;hb=adb71b8096436a54bf2326d5c69991b16ba5bafa;hp=e6a4cf95744ca0260f2ae11fd7c58aa7a1dae169;hpb=3aa471f2a9cb1cccd37c27906dd386b9724e32ab;p=stockfish diff --git a/src/thread.h b/src/thread.h index e6a4cf95..3d175483 100644 --- a/src/thread.h +++ b/src/thread.h @@ -85,8 +85,8 @@ public: void wait_for_stop_or_ponderhit(); SplitPoint splitPoints[MAX_SPLITPOINTS_PER_THREAD]; - MaterialInfoTable materialTable; - PawnInfoTable pawnTable; + MaterialTable materialTable; + PawnTable pawnTable; int threadID; int maxPly; Lock sleepLock; @@ -111,7 +111,7 @@ class ThreadsManager { static storage duration are automatically set to zero before enter main() */ public: - void init(); // No c'tor becuase Threads is static and we need stuff initialized + void init(); // No c'tor becuase Threads is static and we need engine initialized ~ThreadsManager(); Thread& operator[](int id) { return *threads[id]; } @@ -126,7 +126,7 @@ public: void set_timer(int msec); void wait_for_search_finished(); void start_searching(const Position& pos, const Search::LimitsType& limits, - const std::set& = std::set(), bool async = false); + const std::set& = std::set()); template Value split(Position& pos, Search::Stack* ss, Value alpha, Value beta, Value bestValue, Move* bestMove,