summaryrefslogtreecommitdiff
path: root/linuxthreads/join.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-03 06:13:09 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-03 06:13:09 +0000
commitab86fbb1d2866df567219904982dac61751808e5 (patch)
tree7ef290b73205d2a02ca808b585984d6c562857b0 /linuxthreads/join.c
parentdbd3e8629f6efb51bcddbd9e85ab87c0dd95a6ee (diff)
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.
Diffstat (limited to 'linuxthreads/join.c')
-rw-r--r--linuxthreads/join.c1
1 files changed, 1 insertions, 0 deletions
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();