std::vector<Move> searchmoves;
int time[COLOR_NB], inc[COLOR_NB], npmsec, movestogo, depth, movetime, mate, infinite, ponder;
int64_t nodes;
std::vector<Move> searchmoves;
int time[COLOR_NB], inc[COLOR_NB], npmsec, movestogo, depth, movetime, mate, infinite, ponder;
int64_t nodes;
- bool stop, stopOnPonderhit, firstRootMove, failedLowAtRoot;
+ std::atomic<bool> stop, stopOnPonderhit, firstRootMove, failedLowAtRoot;