pub fn kill_thread(caller_tid: u32, target_tid: u32) -> Result<(), SyscallError>Expand description
Kill a thread by TID, restricted to threads of the caller’s own process.
Errors: ESRCH when the TID does not exist, EPERM when the target lives
in another thread group (mirrors the parent/child restriction of join).