mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Move pawn and material tables under Thread class
This change allows to remove some quite a bit of code and seems the natural thing to do. Introduced file thread.cpp to move away from search.cpp a lot of threads related stuff. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -63,8 +63,7 @@ struct SearchLimits {
|
||||
bool infinite, ponder;
|
||||
};
|
||||
|
||||
extern void init_threads();
|
||||
extern void exit_threads();
|
||||
extern void init_search();
|
||||
extern int64_t perft(Position& pos, Depth depth);
|
||||
extern bool think(Position& pos, const SearchLimits& limits, Move searchMoves[]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user