diff options
Diffstat (limited to 'PLAN.md')
| -rw-r--r-- | PLAN.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -293,15 +293,15 @@ These are concrete, ordered steps. Each should be a single commit/patch and build (`just test`) green before the next. ### Phase A — Data-structure fixes -- [ ] **A1.** In `include/engine/threads.h`, rename the duplicate +- [x] **A1.** In `include/engine/threads.h`, rename the duplicate `move_t best_score` on `split_point_t` → `move_t best_move`. -- [ ] **A2.** Finish `struct child_thread_args`: add +- [x] **A2.** Finish `struct child_thread_args`: add `engine_message_handler_t *message;` field; remove or complete the dangling `int sp_stack;`. -- [ ] **A3.** In `src/main.c`, add `ttable_init(&ipc_state.threads.ttable, +- [x] **A3.** In `src/main.c`, add `ttable_init(&ipc_state.threads.ttable, <log2 of Hash option>)` before `threads_link` (use the `hash` spin option, default 256 → pick a sensible log2, e.g. 18 for ~256 MiB buckets, clamped). -- [ ] **A4.** In `src/engine/threads.c`, make `__threads_args_init` copy +- [x] **A4.** In `src/engine/threads.c`, make `__threads_args_init` copy `handler->ttable` and `handler->go_args` into each `thread_args_t` (currently `go_args`/`ttable` are set on `handler` but never propagated to per-thread args). Build + existing tests still pass. |
