Store clear_child_tid in TCBInner, return real tid (not hardcoded 1). On thread exit: write 0 at clear_child_tid to notify musl of thread termination. futex_wake deferred until futex(98) is done.
Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com
Store clear_child_tid in TCBInner, return real tid (not hardcoded 1). On thread exit: write 0 at clear_child_tid to notify musl of thread termination. futex_wake deferred until futex(98) is done.
Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com