mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
do_wait reorganization
This breaks out the guts of do_wait into three subfunctions. The control flow is less nonobvious without so much goto. do_wait_thread and ptrace_do_wait contain the main work of the outer loop. wait_consider_task contains the main work of the inner loop. Signed-off-by: Roland McGrath <roland@redhat.com>
This commit is contained in:
parent
33af79d12e
commit
98abed0200
1 changed files with 135 additions and 80 deletions
215
kernel/exit.c
215
kernel/exit.c
Loading…
Add table
Add a link
Reference in a new issue