Skip to content
Commit 98abed02 authored by Roland McGrath's avatar Roland McGrath
Browse files

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: default avatarRoland McGrath <roland@redhat.com>
parent 33af79d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment