summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/engine/threads.h8
1 files changed, 5 insertions, 3 deletions
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 {