commit | 98abed02007b19bbfd68b6d06a5485afc3eeb01b | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Wed Mar 19 19:24:59 2008 -0700 |
committer | Roland McGrath <roland@redhat.com> | Wed Jul 16 18:02:33 2008 -0700 |
tree | 3f0091b409592d74d56bb53847566fb32aaa0bfa | |
parent | 33af79d12e0fa25545d49e86afc67ea8ad5f2f40 [diff] |
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>