diff options
Diffstat (limited to 'linuxthreads/join.c')
-rw-r--r-- | linuxthreads/join.c | 1 |
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(); |