From: Michael Jeanson Date: Fri, 23 Nov 2018 21:47:18 +0000 (-0500) Subject: Fix: pthread_rwlock initialization on Cygwin X-Git-Tag: v0.9.6~3 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=ff981126c2eceae4c69bb0409e897ead8254275c;hp=ff981126c2eceae4c69bb0409e897ead8254275c;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 ---