sys_tkill [kernel/signal.c]
Sends signal to one specific thread. This system call is analogous to sys_kill, except when the specified process is part of a thread group (created by specifying the CLONE_THREAD flag in the call to clone). Since all the processes in a thread group have the same PID, they cannot be individually signalled with sys_kill. With sys_tkill, however, one can address each process by its unique TID. Arguments
eax | 238
ebx | The PID of the thread.
ecx | Signal to be sent.
Return values If the system call succeeds the return value is 0. If the system call fails the return value is one of the following errno values:
`-EINVAL` | `An invalid TID or signal was specified.`
`-EPERM` | `Permission denied. For the required permissions, see sys_kill.`
`-ESRCH` | `No process with the specified thread ID (and thread group ID) exists.`
Remarks n/a Compatibility n/a