mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Refactor Thread class
Associate platform OS thread to the Thread class instead of creating it from ThreadsManager. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -72,8 +72,9 @@ private:
|
||||
|
||||
class MaterialInfoTable : public SimpleHash<MaterialInfo, MaterialTableSize> {
|
||||
public:
|
||||
~MaterialInfoTable();
|
||||
void init();
|
||||
MaterialInfoTable() : funcs(new Endgames()) {}
|
||||
~MaterialInfoTable() { delete funcs; }
|
||||
|
||||
MaterialInfo* material_info(const Position& pos) const;
|
||||
static Phase game_phase(const Position& pos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user