mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Move some globals into main thread scope
Make it explicit that those variables are not globals, but are used only by main thread. I think it is a sensible clarification because easy move is already tricky enough and current patch makes the involved actors explicit. No functional change. Resolves #537
This commit is contained in:
committed by
Joona Kiiski
parent
90f5937373
commit
1b5b900a29
@@ -76,6 +76,9 @@ public:
|
||||
|
||||
struct MainThread : public Thread {
|
||||
virtual void search();
|
||||
|
||||
bool easyMovePlayed, failedLow;
|
||||
double bestMoveChanges;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user