From: Rich Felker Date: Mon, 7 Mar 2011 21:45:48 +0000 (-0500) Subject: add prototypes for pthread_condattr_* and pthread_rwlockattr_* X-Git-Tag: v0.7.0~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7d57e05fa8d15dc838638f7db19e88b02a21c18b;p=oweals%2Fmusl.git add prototypes for pthread_condattr_* and pthread_rwlockattr_* --- 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 *);