1TRACEHOOK_REPORT_DEA(9) Kernel Internals TRACEHOOK_REPORT_DEA(9)
2
3
4
6 tracehook_report_death - task is dead and ready to be reaped
7
9 void tracehook_report_death(struct task_struct * task, int signal,
10 void * death_cookie, int group_dead);
11
13 task
14
15 current task now exiting
16
17 signal
18 return value from tracheook_notify_death
19
20 death_cookie
21 value passed back from tracehook_notify_death
22
23 group_dead
24 nonzero if this was the last thread in the group to die
25
27 Thread has just become a zombie or is about to self-reap. If positive,
28 signal is the signal number just sent to the parent (usually SIGCHLD).
29 If signal is DEATH_REAP, this thread will self-reap. If signal is
30 DEATH_DELAYED_GROUP_LEADER, this is a delayed_group_leader zombie. The
31 death_cookie was passed back by tracehook_notify_death.
32
33 If normal reaping is not inhibited, task->exit_state might be changing
34 in parallel.
35
36 Called without locks.
37
38
39
40Kernel Hackers Manual 2.6. November 2011 TRACEHOOK_REPORT_DEA(9)