(pthread_exit): Set __pthread_last_event.
authordrepper <drepper>
Wed, 3 Nov 1999 05:26:13 +0000 (05:26 +0000)
committerdrepper <drepper>
Wed, 3 Nov 1999 05:26:13 +0000 (05:26 +0000)
linuxthreads/join.c

index a2c8b20..71db541 100644 (file)
@@ -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();