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

@ -10,7 +10,11 @@
/* Variable used in non-threaded applications or for the first thread. */
static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem;
#if USE_TLS && HAVE___THREAD
__libc_tsd_define (, RPC_VARS)
#else
__libc_tsd_define (static, RPC_VARS)
#endif
/*
* Task-variable destructor
@ -85,6 +89,7 @@ __rpc_thread_svc_fdset (void)
return &svc_fdset;
return &tvp->svc_fdset_s;
}
libc_hidden_def (__rpc_thread_svc_fdset)
struct rpc_createerr *
__rpc_thread_createerr (void)
@ -96,6 +101,7 @@ __rpc_thread_createerr (void)
return &rpc_createerr;
return &tvp->rpc_createerr_s;
}
libc_hidden_def (__rpc_thread_createerr)
struct pollfd **
__rpc_thread_svc_pollfd (void)