diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-14 19:32:10 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-14 19:32:10 +0000 |
commit | 821b26bf3fe22524a1d1a2c9bc60ad549de82333 (patch) | |
tree | 0dc5c690f89b55f1156bcba1b15ee382e4242714 /libpthread/nptl/sysdeps/pthread/pthread-functions.h | |
parent | a979d4016db090191fe7ed167d85870338e64604 (diff) | |
download | uClibc-alpine-821b26bf3fe22524a1d1a2c9bc60ad549de82333.tar.bz2 uClibc-alpine-821b26bf3fe22524a1d1a2c9bc60ad549de82333.tar.xz |
Get rid of more glibc NPTL symbol and alias madness. Also disable usage of
'libc/sysdeps/linux/common/fork.c' when NPTL is being used. Finally, there
are additional weak functions that need to be defined when using NPTL which
have also been added.
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread-functions.h')
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/pthread-functions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread-functions.h b/libpthread/nptl/sysdeps/pthread/pthread-functions.h index d75bbbb11..813d55621 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread-functions.h +++ b/libpthread/nptl/sysdeps/pthread/pthread-functions.h @@ -72,8 +72,12 @@ struct pthread_functions int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *); int (*ptr_pthread_mutex_init) (pthread_mutex_t *, const pthread_mutexattr_t *); + int (*ptr_pthread_mutex_trylock) (pthread_mutex_t *); int (*ptr_pthread_mutex_lock) (pthread_mutex_t *); int (*ptr_pthread_mutex_unlock) (pthread_mutex_t *); + int (*ptr_pthread_mutexattr_init) (pthread_mutexattr_t *attr); + int (*ptr_pthread_mutexattr_destroy) (pthread_mutexattr_t *attr); + int (*ptr_pthread_mutexattr_settype) (pthread_mutexattr_t *attr, int kind); pthread_t (*ptr_pthread_self) (void); int (*ptr_pthread_setcancelstate) (int, int *); int (*ptr_pthread_setcanceltype) (int, int *); |