mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Retire ThreadsManager::init_hash_tables()
Allocation of pawn and material hash tables should be strictly bounded to the change of the number of activeThreads, so move the code inside set_size(). No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -111,7 +111,6 @@ public:
|
||||
Thread& operator[](int threadID) { return threads[threadID]; }
|
||||
void init();
|
||||
void exit();
|
||||
void init_hash_tables();
|
||||
|
||||
bool use_sleeping_threads() const { return useSleepingThreads; }
|
||||
int min_split_depth() const { return minimumSplitDepth; }
|
||||
|
||||
Reference in New Issue
Block a user