1. NAME▲
do_notify_parent_cldstop - notify parent of stopped/continued state change
2. SYNOPSIS ▲
void do_notify_parent_cldstop(struct task_struct * tsk , bool for_ptracer , int why );
3. ARGUMENTS ▲
tsk
task reporting the state change
for_ptracer
the notification is for ptracer
why
CLD_{CONTINUED|STOPPED|TRAPPED} to report
4. DESCRIPTION ▲
Notify tskAqs parent that the stopped/continued state has changed. If for_ptracer is false, tskAqs group leader notifies to its real parent. If true, tsk reports to tsk->parent which should be the ptracer.
5. CONTEXT ▲
Must be called with tasklist_lock at least read locked.
6. COPYRIGHT ▲