diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/pthread/pthread.h | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,8 @@ 2008-12-21 Samuel Thibault <samuel.thibault@ens-lyon.org> - * sysdeps/mach/pt-timedblock.c (__pthread_timedblock): - Fix timeout computation from abstime and now. + * sysdeps/mach/pt-timedblock.c (__pthread_timedblock): Fix timeout + computation from abstime and now. + * include/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): New macro. 2008-10-02 Neal H. Walfield <neal@gnu.org> 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, |