diff options
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index e4a9013..0a0e332 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -88,11 +88,18 @@ struct pthread_functions int (*ptr_pthread_attr_setscope) (pthread_attr_t *, int); int (*ptr_pthread_condattr_destroy) (pthread_condattr_t *); int (*ptr_pthread_condattr_init) (pthread_condattr_t *); - int (*ptr_pthread_cond_broadcast) (pthread_cond_t *); - int (*ptr_pthread_cond_destroy) (pthread_cond_t *); - int (*ptr_pthread_cond_init) (pthread_cond_t *, const pthread_condattr_t *); - int (*ptr_pthread_cond_signal) (pthread_cond_t *); - int (*ptr_pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *); + int (*ptr___pthread_cond_broadcast) (pthread_cond_t *); + int (*ptr___pthread_cond_destroy) (pthread_cond_t *); + int (*ptr___pthread_cond_init) (pthread_cond_t *, + const pthread_condattr_t *); + int (*ptr___pthread_cond_signal) (pthread_cond_t *); + int (*ptr___pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *); + int (*ptr___pthread_cond_broadcast_2_0) (pthread_cond_t *); + int (*ptr___pthread_cond_destroy_2_0) (pthread_cond_t *); + int (*ptr___pthread_cond_init_2_0) (pthread_cond_t *, + const pthread_condattr_t *); + int (*ptr___pthread_cond_signal_2_0) (pthread_cond_t *); + int (*ptr___pthread_cond_wait_2_0) (pthread_cond_t *, pthread_mutex_t *); int (*ptr_pthread_equal) (pthread_t, pthread_t); void (*ptr___pthread_exit) (void *); int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *); @@ -315,15 +322,15 @@ extern int __pthread_enable_asynccancel (void) attribute_hidden; extern void __pthread_disable_asynccancel (int oldtype) internal_function attribute_hidden; -extern int __old_pthread_cond_broadcast (pthread_cond_t *cond); -extern int __old_pthread_cond_destroy (pthread_cond_t *cond); -extern int __old_pthread_cond_init (pthread_cond_t *cond, +extern int __pthread_cond_broadcast_2_0 (pthread_cond_t *cond); +extern int __pthread_cond_destroy_2_0 (pthread_cond_t *cond); +extern int __pthread_cond_init_2_0 (pthread_cond_t *cond, const pthread_condattr_t *cond_attr); -extern int __old_pthread_cond_signal (pthread_cond_t *cond); +extern int __pthread_cond_signal_2_0 (pthread_cond_t *cond); extern int __old_pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime); -extern int __old_pthread_cond_wait (pthread_cond_t *cond, +extern int __pthread_cond_wait_2_0 (pthread_cond_t *cond, pthread_mutex_t *mutex); /* The two functions are in libc.so and not exported. */ |