diff options
Diffstat (limited to 'src/uci/state.h')
| -rw-r--r-- | src/uci/state.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/uci/state.h b/src/uci/state.h index 9b09774..9c59a3a 100644 --- a/src/uci/state.h +++ b/src/uci/state.h @@ -1,6 +1,7 @@ #ifndef UCI_STATE_H #define UCI_STATE_H +#include <stdatomic.h> #include "../fen.h" typedef struct { @@ -80,8 +81,10 @@ typedef struct { char author[32]; bool debug; - int go; - struct fen_load position; + atomic_int go; + atomic_int quit; + + position_t position; struct uci_move *moves; int moves_count; |
