SYS_TGKILL
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
sys_tgkill - send signal to one specific thread
SYNOPSIS
"SYNOPSIS"
asmlinkage long sys_tgkill (int tgid, int pid, int sig);
ARGUMENTS
- tgid
-
the thread group ID of the thread
- pid
-
the PID of the thread
- sig
-
signal to be sent
DESCRIPTION
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.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 04:41:09 GMT, October 06, 2005