[haiku-commits] haiku: hrev51190 - headers/posix

  • From: waddlesplash@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 29 May 2017 16:58:03 +0200 (CEST)

hrev51190 adds 1 changeset to branch 'master'
old head: 756c36e7eec2933e768ddd15f37c73ecd4c1840b
new head: b70a58f95a3a09efdb3343b8775015ef1e913da6
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=b70a58f95a3a+%5E756c36e7eec2

----------------------------------------------------------------------------

b70a58f95a3a: pthread.h: Remove PTHREAD_RWLOCK_INITIALIZER macro.
  
  This reverts commit 17286dc70a81d1aa8d853a73db0b0ebe79e6ed9a.
  
  As discussed on the mailing list. As it turns out, this was less
  than half of an actual implementation of this macro, and there's
  technically no way to implement it without introducing (theoretical)
  race conditions, in the current design anyway.

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev51190
Commit:      b70a58f95a3a09efdb3343b8775015ef1e913da6
URL:         http://cgit.haiku-os.org/haiku/commit/?id=b70a58f95a3a
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Mon May 29 14:54:41 2017 UTC

----------------------------------------------------------------------------

1 file changed, 2 deletions(-)
headers/posix/pthread.h | 2 --

----------------------------------------------------------------------------

diff --git a/headers/posix/pthread.h b/headers/posix/pthread.h
index 3084cb0..489aace 100644
--- a/headers/posix/pthread.h
+++ b/headers/posix/pthread.h
@@ -80,8 +80,6 @@ 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);


Other related posts:

  • » [haiku-commits] haiku: hrev51190 - headers/posix - waddlesplash