diff options
-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) |