From f97ea63ac29c08530b1aaff89277262b44ef7a11 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sat, 15 Aug 2026 14:28:35 +0530 Subject: phase A --- include/engine/threads.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/engine/threads.h') diff --git a/include/engine/threads.h b/include/engine/threads.h index b5f2163..da221a8 100644 --- a/include/engine/threads.h +++ b/include/engine/threads.h @@ -17,7 +17,7 @@ typedef struct split_point { atomic_int alpha, beta; atomic_int best_score; atomic_int workers; - move_t best_score; + move_t best_move; struct split_point *parent; int ply; @@ -37,9 +37,10 @@ struct child_thread_args { int id; go_args_t *go_args; - position_t position; + position_t *position; + ttable_t *ttable; int sp_stack; - int + engine_message_handler_t *message; }; struct root_thread_args { // signal sent by threads manager @@ -52,6 +53,7 @@ struct root_thread_args { position_t *position; go_args_t *go_args; engine_message_handler_t *message; + ttable_t *ttable; }; typedef union { -- cgit v1.2.3