mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
document de_thread() with exit_notify() connection
Add a couple of small comments, it is not easy to see what this code does. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
376e1d2531
commit
2800d8d19e
2 changed files with 2 additions and 1 deletions
|
@ -877,6 +877,7 @@ static void exit_notify(struct task_struct *tsk, int group_dead)
|
|||
state = EXIT_DEAD;
|
||||
tsk->exit_state = state;
|
||||
|
||||
/* mt-exec, de_thread() is waiting for us */
|
||||
if (thread_group_leader(tsk) &&
|
||||
tsk->signal->notify_count < 0 &&
|
||||
tsk->signal->group_exit_task)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue