mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2002-08-02 Ulrich Drepper <drepper@redhat.com> * cancel.c (__pthread_perform_cleanup) [USE_TLS && HAVE___THREAD]: Don't use p_libc_specific element in thread descriptor.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2002-08-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* cancel.c (__pthread_perform_cleanup) [USE_TLS && HAVE___THREAD]:
|
||||
Don't use p_libc_specific element in thread descriptor.
|
||||
|
||||
2002-07-30 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* sysdeps/pthread/bits/libc-tsd.h: Include <tls.h>.
|
||||
|
@ -202,8 +202,13 @@ void __pthread_perform_cleanup(char *currentframe)
|
||||
}
|
||||
|
||||
/* And the TSD which needs special help. */
|
||||
#if !(USE_TLS && HAVE___THREAD)
|
||||
if (THREAD_GETMEM(self, p_libc_specific[_LIBC_TSD_KEY_RPC_VARS]) != NULL)
|
||||
__rpc_thread_destroy ();
|
||||
#else
|
||||
if (__libc_tsd_get (RPC_VARS) != NULL)
|
||||
__rpc_thread_destroy ();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef SHARED
|
||||
|
Reference in New Issue
Block a user