[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-commits
Subject: [haiku-commits] haiku: hrev51184 - headers/posix
From: waddlesplash () gmail ! com
Date: 2017-05-27 16:47:55
Message-ID: 20170527164756.1DE435C0361 () vmrepo ! haiku-os ! org
[Download RAW message or body]
hrev51184 adds 1 changeset to branch 'master'
old head: 2f0ca6974e11d38fb66b83cd088bf1c4b55b0fa3
new head: 17286dc70a81d1aa8d853a73db0b0ebe79e6ed9a
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=17286dc70a81+%5E2f0ca6974e11
----------------------------------------------------------------------------
17286dc70a81: 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).
[ Joseph C, Hill <calvin@hakobaito.co.uk> ]
----------------------------------------------------------------------------
Revision: hrev51184
Commit: 17286dc70a81d1aa8d853a73db0b0ebe79e6ed9a
URL: http://cgit.haiku-os.org/haiku/commit/?id=17286dc70a81
Author: Joseph C, Hill <calvin@hakobaito.co.uk>
Date: Sat May 27 13:35:25 2017 UTC
Committer: Augustin Cavalier <waddlesplash@gmail.com>
Commit-Date: Sat May 27 16:46:47 2017 UTC
Ticket: https://dev.haiku-os.org/ticket/8798
----------------------------------------------------------------------------
1 file changed, 2 insertions(+)
headers/posix/pthread.h | 2 ++
----------------------------------------------------------------------------
diff --git a/headers/posix/pthread.h b/headers/posix/pthread.h
index 489aace..3084cb0 100644
--- a/headers/posix/pthread.h
+++ b/headers/posix/pthread.h
@@ -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);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic