diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-08-20 19:41:20 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-08-20 19:41:20 +0000 |
commit | 092e2ac3b344d7793b6fa56a5255ff1ce0916185 (patch) | |
tree | 5819711885d1a39cd37d518b31ffb674ea837556 /libthreads | |
parent | 7b01458f66d04a90e8497bd60f1baa7eb79b9d6a (diff) |
Wed Aug 20 15:39:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* cthreads.c (cthread_body): Wire self before calling user work
function. This way all cthreads will be wired, which the ports
library (and hurd_thread_cancel, etc.) depend on.
Diffstat (limited to 'libthreads')
-rw-r--r-- | libthreads/ChangeLog | 6 | ||||
-rw-r--r-- | libthreads/cthreads.c | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/libthreads/ChangeLog b/libthreads/ChangeLog index 191ba734..772ec5f0 100644 --- a/libthreads/ChangeLog +++ b/libthreads/ChangeLog @@ -1,3 +1,9 @@ +Wed Aug 20 15:39:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * cthreads.c (cthread_body): Wire self before calling user work + function. This way all cthreads will be wired, which the ports + library (and hurd_thread_cancel, etc.) depend on. + Fri Aug 8 13:21:17 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (SRCS): Delete malloc.c; libc now has a thread safe diff --git a/libthreads/cthreads.c b/libthreads/cthreads.c index 4bb4043a..d1ed1ffc 100644 --- a/libthreads/cthreads.c +++ b/libthreads/cthreads.c @@ -26,6 +26,12 @@ /* * HISTORY * $Log: cthreads.c,v $ + * Revision 1.6 1997/06/10 01:22:19 thomas + * Mon Jun 9 21:18:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + * + * * cthreads.c (cthread_fork): Delete debugging oddity that crept + * into source. + * * Revision 1.5 1997/04/04 01:30:35 thomas * *** empty log message *** * @@ -258,6 +264,7 @@ cthread_body(self) mutex_unlock(&cthread_lock); cthread_assoc(self, t); /* assume thread's identity */ if (_setjmp(t->catch) == 0) { /* catch for cthread_exit() */ + cthread_wire (); /* * Execute the fork request. */ |