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. --- include/pthread/pthread.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/pthread/pthread.h') 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