1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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:
Ulrich Drepper
2002-08-03 03:53:28 +00:00
parent 3db04c6ff7
commit 1f3f143e62
6 changed files with 26 additions and 3 deletions

View File

@ -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>.

View File

@ -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