diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-07 16:45:48 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-07 16:45:48 -0500 |
commit | 7d57e05fa8d15dc838638f7db19e88b02a21c18b (patch) | |
tree | d6bc6e646efb0295872c19c9d7c5db0362d38e58 | |
parent | cc2e0b45a6fe7b0927519cc960fae8e4c0c0ebee (diff) | |
download | musl-7d57e05fa8d15dc838638f7db19e88b02a21c18b.tar.gz musl-7d57e05fa8d15dc838638f7db19e88b02a21c18b.tar.xz musl-7d57e05fa8d15dc838638f7db19e88b02a21c18b.zip |
add prototypes for pthread_condattr_* and pthread_rwlockattr_*
-rw-r--r-- | include/pthread.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h index 19199468..12442085 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -157,6 +157,18 @@ int pthread_mutexattr_setpshared(pthread_mutexattr_t *, int); int pthread_mutexattr_setrobust(pthread_mutexattr_t *, int); int pthread_mutexattr_settype(pthread_mutexattr_t *, int); +int pthread_condattr_init(pthread_condattr_t *); +int pthread_condattr_destroy(pthread_condattr_t *); +int pthread_condattr_setclock(pthread_condattr_t *, clockid_t); +int pthread_condattr_setpshared(pthread_condattr_t *, int); +int pthread_condattr_getclock(const pthread_condattr_t *, clockid_t *); +int pthread_condattr_getpshared(const pthread_condattr_t *, int *); + +int pthread_rwlockattr_init(pthread_rwlockattr_t *); +int pthread_rwlockattr_destroy(pthread_rwlockattr_t *); +int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *, int); +int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *, int *); + int pthread_barrierattr_destroy(pthread_barrierattr_t *); int pthread_barrierattr_getpshared(const pthread_barrierattr_t *, int *); int pthread_barrierattr_init(pthread_barrierattr_t *); |