• Roland McGrath's avatar
    do_wait reorganization · 98abed02
    Roland McGrath authored
    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: default avatarRoland McGrath <roland@redhat.com>
    98abed02
exit.c 44.8 KB