From: Michael Jeanson Date: Fri, 23 Nov 2018 21:47:18 +0000 (-0500) Subject: Fix: pthread_rwlock initialization on Cygwin X-Git-Tag: v0.11.0~38 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=89a6a9ce587a0b6e5570ab07fb4c680fe24a77ad;hp=89a6a9ce587a0b6e5570ab07fb4c680fe24a77ad;p=userspace-rcu.git Fix: pthread_rwlock initialization on Cygwin On Cygwin the PTHREAD_RWLOCK_INITIALIZER macro is not sufficient to get a properly initialized pthread_rwlock_t struct. Use the pthread_rwlock_init function instead which should work on all platforms. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---