mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +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:
@ -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