pub fn terminate_thread(pid: ProcessId, tid: ThreadId) -> KernelResult<()>
Terminate a specific thread