Rechercher une page de manuel
sys_tgkill
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
sys_tgkill - send signal to one specific threadSYNOPSIS
- long sys_tgkill(pid_t tgid, pid_t 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.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre