diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-08-14 19:09:13 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-08-14 19:09:13 +0000 |
commit | d77023eb04c94c402e75bb328103311a4b71c7cc (patch) | |
tree | 57ba03ea6427bef6d2b8eccec430d0fd35f82a63 /proc | |
parent | 9079a13b7fbd2b53310919c7e72a0ab34d57b610 (diff) |
2001-08-14 Marcus Brinkmann <marcus@gnu.org>
* mgt.c (S_proc_dostop): If task_threads fails, resume the
suspended task.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/ChangeLog | 5 | ||||
-rw-r--r-- | proc/mgt.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/proc/ChangeLog b/proc/ChangeLog index 3ace0678..5d9f7054 100644 --- a/proc/ChangeLog +++ b/proc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-14 Marcus Brinkmann <marcus@gnu.org> + + * mgt.c (S_proc_dostop): If task_threads fails, resume the + suspended task. + 2001-08-06 Roland McGrath <roland@frob.com> * wait.c (S_proc_wait: reap): Set *PID_STATUS to CHILD->p_pid. @@ -344,7 +344,10 @@ S_proc_dostop (struct proc *p, return err; err = task_threads (p->p_task, &threads, &nthreads); if (err) - return err; + { + task_resume (p->p_task); + return err; + } for (i = 0; i < nthreads; i++) { if (threads[i] != contthread) |