summaryrefslogtreecommitdiff
path: root/PLAN.md
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-08-15 14:28:35 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-08-15 14:28:35 +0530
commitf97ea63ac29c08530b1aaff89277262b44ef7a11 (patch)
tree2534d597b2356de9dda0412665cf8ba06870526c /PLAN.md
parent2bf47937bcc5cd29cf8081f922b7615b7e57ed57 (diff)
phase A
Diffstat (limited to 'PLAN.md')
-rw-r--r--PLAN.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/PLAN.md b/PLAN.md
index 2b3a05d..7581307 100644
--- a/PLAN.md
+++ b/PLAN.md
@@ -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.