diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-11-20 09:56:34 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-11-20 09:56:34 +0000 |
commit | 7894035e1ce51595cd0bff5727ca0297295c527e (patch) | |
tree | b8d3c92ca2e24edf75d46829d2c181472d1ec21d /nptl/pthread_create.c | |
parent | cc579e4358c4347a8610be0aa8a7a6a3e3d2fe90 (diff) |
Updated to fedora-glibc-20041120T0949
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r-- | nptl/pthread_create.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 82a3c683aa..fcfc5c6d97 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -55,11 +55,6 @@ unsigned int __nptl_nthreads = 1; #include "createthread.c" -/* Table of the key information. */ -struct pthread_key_struct __pthread_keys[PTHREAD_KEYS_MAX] - __attribute__ ((nocommon)); -hidden_data_def (__pthread_keys) - struct pthread * internal_function __find_in_stack_list (pd) @@ -513,3 +508,14 @@ compat_symbol (libpthread, __pthread_create_2_0, pthread_create, /* Information for libthread_db. */ #include "../nptl_db/db_info.c" + +/* If pthread_create is present, libgcc_eh.a and libsupc++.a expects some other POSIX thread + functions to be present as well. */ +PTHREAD_STATIC_FN_REQUIRE (pthread_mutex_lock) +PTHREAD_STATIC_FN_REQUIRE (pthread_mutex_unlock) + +PTHREAD_STATIC_FN_REQUIRE (pthread_once) + +PTHREAD_STATIC_FN_REQUIRE (pthread_key_create) +PTHREAD_STATIC_FN_REQUIRE (pthread_setspecific) +PTHREAD_STATIC_FN_REQUIRE (pthread_getspecific) |