Merge remote-tracking branch 'upstream/master' into clusterMergeMaster4

This commit is contained in:
Joost VandeVondele
2019-02-17 13:18:08 +01:00
16 changed files with 192 additions and 228 deletions
+3 -1
View File
@@ -96,6 +96,8 @@ struct MainThread : public Thread {
double bestMoveChanges, previousTimeReduction;
Value previousScore;
int callsCnt;
bool stopOnPonderhit;
std::atomic_bool ponder;
};
@@ -114,7 +116,7 @@ struct ThreadPool : public std::vector<Thread*> {
uint64_t tb_hits() const { return accumulate(&Thread::tbHits); }
uint64_t TT_saves() const { return accumulate(&Thread::TTsaves); }
std::atomic_bool stop, ponder, stopOnPonderhit;
std::atomic_bool stop;
private:
StateListPtr setupStates;