Stockfish, UCI chess engine
Leader of the ranking list JCER = 3406
🔬 Author: Marco Costalba
Correct zero-init of Thread data members
If not explicitly initialized in a class constructor, then all data members are default-initialized when the corresponing struct/class is instanced.
For array and built-in types (int, char, etc..) default-initialization is a no-op and we need to explicitly zero them.
No functional change.
⭐⭐⭐ Stockfish 17010508 - download