diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-15 14:28:35 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-15 14:28:35 +0530 |
| commit | f97ea63ac29c08530b1aaff89277262b44ef7a11 (patch) | |
| tree | 2534d597b2356de9dda0412665cf8ba06870526c /PLAN.md | |
| parent | 2bf47937bcc5cd29cf8081f922b7615b7e57ed57 (diff) | |
phase A
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. |
