Rechercher une page de manuel
tracehook_notify_jctl
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
Sommaire
NAME
tracehook_notify_jctl - report about job control stop/continueSYNOPSIS
- int tracehook_notify_jctl(int notify, int why);
ARGUMENTS
notify
- zero, CLD_STOPPED or CLD_CONTINUED
why
CLD_STOPPED or CLD_CONTINUED
DESCRIPTION
This is called when we might call do_notify_parent_cldstop.
notify is zero if we would not ordinarily send a SIGCHLD, or is the CLD_STOPPED or CLD_CONTINUED .si_code for SIGCHLD.
why is CLD_STOPPED when about to stop for job control; we are already in TASK_STOPPED state, about to call schedule. It might also be that we have just exited (check PF_EXITING), but need to report that a group-wide stop is complete.
why is CLD_CONTINUED when waking up after job control stop and ready to make a delayed notify report.
Return the CLD_* value for SIGCHLD, or zero to generate no signal.
Called with the siglock held.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre