Sends a signal to a thread.
fn tgkill(tgid: i32, tid: i32, sig: i32) -> i32
The thread group of the thread.
The thread id.
The signal to send.
tgkill(2)