diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-12-21 18:41:27 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-04-08 00:04:18 +0200 |
commit | f5440f822c029ab8e8f82d9c43b4df0e73b34e82 (patch) | |
tree | 835966a44b5d801bb617aa3bedfa5243e34aef10 /include/pthread/pthread.h | |
parent | ffa09f92862c40b890d48af9261de24e07490b0b (diff) |
2008-12-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
* include/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): New macro.
Diffstat (limited to 'include/pthread/pthread.h')
-rw-r--r-- | include/pthread/pthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h index f7e4aae..c821d57 100644 --- a/include/pthread/pthread.h +++ b/include/pthread/pthread.h @@ -521,6 +521,7 @@ extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, #include <bits/rwlock.h> +#define PTHREAD_RWLOCK_INITIALIZER __PTHREAD_RWLOCK_INITIALIZER /* Create a rwlock object with attributes given by ATTR and strore the result in *RWLOCK. */ extern int pthread_rwlock_init (pthread_rwlock_t *__restrict rwlock, |