myxce/.kiro
Rongsong Shen 9a06047da2
feat(xce-test-cli-ux): build interruptible-call heap-ownership mechanism
xcetest_run_interruptible() runs a blocking call on a detached worker
thread while the caller polls xcetest_interrupted() every 50ms. A single
atomic CAS (RUNNING -> DONE_UNCLAIMED | ABANDONED) decides which side
frees the heap-allocated call block, so an abandoned call's worker
thread never double-frees or leaks once it eventually finishes. Proven
under active ASAN with a real detached thread and a real SIGINT-forced
abandonment. 1282/1282 controller suite passing (+2).

Task 1.4 of .kiro/specs/xce-test-cli-ux/tasks.md.
Requirements: 1.1, 1.2, 1.3, 1.4

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019jaMf9QEwpugH2W9KAuc7f
2026-09-09 08:29:14 +00:00
..
settings finalize configuration replication 2026-06-09 16:40:13 +08:00
specs feat(xce-test-cli-ux): build interruptible-call heap-ownership mechanism 2026-09-09 08:29:14 +00:00
steering Merge branch 'simplify_app_image' into scheduler-framework 2026-09-04 10:27:42 +08:00