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:
Marco Costalba
2015-12-23 10:07:54 +01:00
committed by Joona Kiiski
parent 90f5937373
commit 1b5b900a29
2 changed files with 33 additions and 29 deletions

View File

@@ -76,6 +76,9 @@ public:
struct MainThread : public Thread {
virtual void search();
bool easyMovePlayed, failedLow;
double bestMoveChanges;
};