diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-20 07:16:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-20 07:16:31 +0000 |
commit | b639d0c9395381757a65b0ab9920e866cdec9120 (patch) | |
tree | dbbe2e4db176d0448b1db845f3da5c020850fb66 /nptl/pthread_create.c | |
parent | 6cce65407e2fc5015c69bb38741d6942b3e412c3 (diff) | |
download | glibc-b639d0c9395381757a65b0ab9920e866cdec9120.tar.gz glibc-b639d0c9395381757a65b0ab9920e866cdec9120.tar.xz glibc-b639d0c9395381757a65b0ab9920e866cdec9120.zip |
Update.
2004-11-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid comma at the end of enum if __USE_BSD is not defined. (calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes.
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) |