Query: do_notify_parent_cldstop
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DO_NOTIFY_PARENT_CLD(9) Driver Basics DO_NOTIFY_PARENT_CLD(9)NAMEdo_notify_parent_cldstop - notify parent of stopped/continued state changeSYNOPSISvoid do_notify_parent_cldstop(struct task_struct * tsk, bool for_ptracer, int why);ARGUMENTStsk task reporting the state change for_ptracer the notification is for ptracer why CLD_{CONTINUED|STOPPED|TRAPPED} to reportDESCRIPTIONNotify tsk's parent that the stopped/continued state has changed. If for_ptracer is false, tsk's group leader notifies to its real parent. If true, tsk reports to tsk->parent which should be the ptracer.CONTEXTMust be called with tasklist_lock at least read locked.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DO_NOTIFY_PARENT_CLD(9)