diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-10-24 05:53:54 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-10-24 05:53:54 +0000 |
commit | 22440a6d382e7c79fd3a3444227de11d6505e388 (patch) | |
tree | a3d3885a44a79b2972e5a31fbaab67673cd2dda8 /include/pthread.h | |
parent | a9cb4a5684321b1ef14eda2f1f16d6dc3145bf38 (diff) | |
download | FreeBSD-src-22440a6d382e7c79fd3a3444227de11d6505e388.zip FreeBSD-src-22440a6d382e7c79fd3a3444227de11d6505e388.tar.gz |
Add prototype for following functions, plus tab fixes.
pthread_condattr_getpshared
pthread_condattr_setpshared
pthread_mutexattr_getpshared
pthread_mutexattr_setpshared
Diffstat (limited to 'include/pthread.h')
-rw-r--r-- | include/pthread.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/pthread.h b/include/pthread.h index 20aa19d..ee864fd 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -163,12 +163,12 @@ int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int); void pthread_cleanup_pop(int); void pthread_cleanup_push(void (*) (void *), void *); int pthread_condattr_destroy(pthread_condattr_t *); +int pthread_condattr_getclock(const pthread_condattr_t *, + clockid_t *); +int pthread_condattr_getpshared(const pthread_condattr_t *, int *); int pthread_condattr_init(pthread_condattr_t *); -int pthread_condattr_getclock(const pthread_condattr_t *, - clockid_t *); -int pthread_condattr_setclock(pthread_condattr_t *, - clockid_t); - +int pthread_condattr_setclock(pthread_condattr_t *, clockid_t); +int pthread_condattr_setpshared(pthread_condattr_t *, int); int pthread_cond_broadcast(pthread_cond_t *); int pthread_cond_destroy(pthread_cond_t *); int pthread_cond_init(pthread_cond_t *, @@ -190,8 +190,11 @@ int pthread_key_delete(pthread_key_t); int pthread_kill(pthread_t, int); int pthread_mutexattr_init(pthread_mutexattr_t *); int pthread_mutexattr_destroy(pthread_mutexattr_t *); +int pthread_mutexattr_getpshared(const pthread_mutexattr_t *, + int *); int pthread_mutexattr_gettype(pthread_mutexattr_t *, int *); int pthread_mutexattr_settype(pthread_mutexattr_t *, int); +int pthread_mutexattr_setpshared(pthread_mutexattr_t *, int); int pthread_mutex_destroy(pthread_mutex_t *); int pthread_mutex_init(pthread_mutex_t *, const pthread_mutexattr_t *); |