diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-07 23:37:41 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-07 23:37:41 +0530 |
| commit | 2761f8a533e2b025f209222a1e4ec70b91c7e8ee (patch) | |
| tree | bb1ce2dfbf3f35fb81f8080776a7cc35e0ed3e3a /src/uci/state.h | |
| parent | 965bf81879b22a25fd9b0d17ce6defd3d51c6173 (diff) | |
thread spawning from the uci settings & best move & ponder is now sent
uci setup is ALMOST done, i can sense it
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; |
