From ab86fbb1d2866df567219904982dac61751808e5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 3 Nov 1999 06:13:09 +0000 Subject: Update. * internals.h: Declare __pthread_last_event. * manager.c: Define __pthread_last_event. (pthread_handle_create): Set __pthread_last_event. (pthread_exited): Likewise. * join.c (pthread_exit): Likewise. --- linuxthreads/join.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linuxthreads/join.c') diff --git a/linuxthreads/join.c b/linuxthreads/join.c index a2c8b20ca2..71db541391 100644 --- a/linuxthreads/join.c +++ b/linuxthreads/join.c @@ -54,6 +54,7 @@ void pthread_exit(void * retval) /* Yep, we have to signal the death. */ THREAD_SETMEM(self, p_eventbuf.eventnum, TD_DEATH); THREAD_SETMEM(self, p_eventbuf.eventdata, self); + __pthread_last_event = self; /* Now call the function to signal the event. */ __linuxthreads_death_event(); -- cgit v1.2.3