mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user