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 9291949..92ea8da 100644
--- a/global.c
+++ b/global.c
@@ -52,6 +52,12 @@ CRITICAL_SECTION ptw32_cond_test_init_lock;
*/
CRITICAL_SECTION ptw32_rwlock_test_init_lock;
+/*
+ * Global lock for testing internal state of PTHREAD_SPINLOCK_INITIALIZER
+ * created spin locks.
+ */
+CRITICAL_SECTION ptw32_spinlock_test_init_lock;
+
#ifdef _UWIN
/*
* Keep a count of the number of threads.