summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'global.c')
-rw-r--r--global.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/global.c b/global.c
index 9db308a..c0173bb 100644
--- a/global.c
+++ b/global.c
@@ -44,5 +44,11 @@ CRITICAL_SECTION _pthread_mutex_test_init_lock;
*/
CRITICAL_SECTION _pthread_cond_test_init_lock;
+/*
+ * Global lock for testing internal state of PTHREAD_RWLOCK_INITIALIZER
+ * created read/write locks.
+ */
+CRITICAL_SECTION _pthread_rwlock_test_init_lock;
+