From 2761f8a533e2b025f209222a1e4ec70b91c7e8ee Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Tue, 7 Jul 2026 23:37:41 +0530 Subject: thread spawning from the uci settings & best move & ponder is now sent uci setup is ALMOST done, i can sense it --- src/uci/state.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/uci/state.h') 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 #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; -- cgit v1.2.3