diff options
author | davidxu <davidxu@FreeBSD.org> | 2007-12-17 02:53:11 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2007-12-17 02:53:11 +0000 |
commit | 42e5c27a872aa4dc472aa23e125eba748db17c52 (patch) | |
tree | 0977add3faa82436e00417536ace107e03913feb /lib | |
parent | 65edaae0a7aadfe760209453775c81020f938c03 (diff) | |
download | FreeBSD-src-42e5c27a872aa4dc472aa23e125eba748db17c52.zip FreeBSD-src-42e5c27a872aa4dc472aa23e125eba748db17c52.tar.gz |
Add function prototypes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libthr/thread/thr_mutex.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index 3361799..6a97761 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -79,8 +79,14 @@ int __pthread_mutex_trylock(pthread_mutex_t *mutex); int __pthread_mutex_lock(pthread_mutex_t *mutex); int __pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *abstime); -int __pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count); +int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, + void *(calloc_cb)(size_t, size_t)); +int _pthread_mutex_getspinloops_np(pthread_mutex_t *mutex, int *count); +int _pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count); +int __pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count); +int _pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count); int _pthread_mutex_getyieldloops_np(pthread_mutex_t *mutex, int *count); +int __pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count); static int mutex_self_trylock(pthread_mutex_t); static int mutex_self_lock(pthread_mutex_t, |