[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/proc ChangeLog mgt.c
From: |
Marcus Brinkmann |
Subject: |
hurd/proc ChangeLog mgt.c |
Date: |
Sat, 16 Aug 2003 18:19:38 -0400 |
CVSROOT: /cvsroot/hurd
Module name: hurd
Branch:
Changes by: Marcus Brinkmann <address@hidden> 03/08/16 18:19:38
Modified files:
proc : ChangeLog mgt.c
Log message:
2003-08-17 Marcus Brinkmann <address@hidden>
* mgt.c (S_proc_dostop): Revert last change.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/proc/ChangeLog.diff?tr1=1.58&tr2=1.59&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/proc/mgt.c.diff?tr1=1.66&tr2=1.67&r1=text&r2=text
Patches:
Index: hurd/proc/ChangeLog
diff -u hurd/proc/ChangeLog:1.58 hurd/proc/ChangeLog:1.59
--- hurd/proc/ChangeLog:1.58 Sat Aug 9 12:43:34 2003
+++ hurd/proc/ChangeLog Sat Aug 16 18:19:37 2003
@@ -1,3 +1,7 @@
+2003-08-17 Marcus Brinkmann <address@hidden>
+
+ * mgt.c (S_proc_dostop): Revert last change.
+
2003-06-16 Ognyan Kulev <address@hidden>
* mgt.c (S_proc_dostop): Instead of suspending all threads except
Index: hurd/proc/mgt.c
diff -u hurd/proc/mgt.c:1.66 hurd/proc/mgt.c:1.67
--- hurd/proc/mgt.c:1.66 Sat Aug 9 12:43:34 2003
+++ hurd/proc/mgt.c Sat Aug 16 18:19:37 2003
@@ -1,5 +1,5 @@
/* Process management
- Copyright (C) 1992,93,94,95,96,99,2000,01,02,03 Free Software Foundation,
Inc.
+ Copyright (C) 1992,93,94,95,96,99,2000,01,02 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -353,12 +353,12 @@
we suspend all threads and then resume CONTTHREAD. */
for (i = 0; i < nthreads; i++)
{
- thread_suspend (threads[i]);
+ if (threads[i] != contthread)
+ thread_suspend (threads[i]);
mach_port_deallocate (mach_task_self (), threads[i]);
}
if (threads != threadbuf)
munmap (threads, nthreads * sizeof (thread_t));
- thread_resume (contthread);
err = task_resume (p->p_task);
if (err)
return err;