mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Thread code reformat
Simplify out low level sync stuff (mutex and friends) and avoid to use them directly in many functions. Also some renaming and better comment while there. No functional change.
This commit is contained in:
@@ -45,7 +45,7 @@ int main(int argc, char* argv[]) {
|
||||
Pawns::init();
|
||||
Tablebases::init(Options["SyzygyPath"]);
|
||||
TT.resize(Options["Hash"]);
|
||||
Threads.init();
|
||||
Threads.init(Options["Threads"]);
|
||||
Search::clear(); // After threads are up
|
||||
|
||||
UCI::loop(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user