mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
pthread.h: Add PTHREAD_RWLOCK_INITIALIZER macro.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Fixes #8798. One tiny style fix by me (adding spaces around braces).
This commit is contained in:
parent
2f0ca6974e
commit
17286dc70a
@ -80,6 +80,8 @@ extern "C" {
|
||||
{ PTHREAD_MUTEX_RECURSIVE, 0, -42, -1, 0 }
|
||||
#define PTHREAD_COND_INITIALIZER \
|
||||
{ 0, -42, NULL, 0, 0 }
|
||||
#define PTHREAD_RWLOCK_INITIALIZER \
|
||||
{ 0, 0, NULL }
|
||||
|
||||
/* mutex functions */
|
||||
extern int pthread_mutex_destroy(pthread_mutex_t *mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user