Skip to main content

sys_tgkill

Function sys_tgkill 

Source
pub fn sys_tgkill(tgid: u64, tid: u64, signum: u64) -> Result<u64, SyscallError>
Expand description

SYS_TGKILL (352): Send a signal to a specific thread in a thread group.

In the current single-threaded model, tgid and tid both map to a single task (pid == tid == tgid). We verify both match before delivering.