sys_tgkill9
Send signal to one specific thread
Arguments
tgid
the thread group ID of the thread
pid
the PID of the thread
sig
signal to be sent
Overview
This syscall also checks the tgid and returns -ESRCH even if the PID exists but it's not belonging to the target process anymore. This method solves the problem of threads exiting and PIDs getting reused.
History
- Debian 8 (Jessie): the text shown here
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)