From f5440f822c029ab8e8f82d9c43b4df0e73b34e82 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 21 Dec 2008 18:41:27 +0000 Subject: 2008-12-21 Samuel Thibault * include/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): New macro. --- ChangeLog | 5 +++-- include/pthread/pthread.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 083c211..faf5ec1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 2008-12-21 Samuel Thibault - * 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 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 +#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, -- cgit v1.2.3