summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'global.c')
-rw-r--r--global.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/global.c b/global.c
index 56a26f3..a8bd69a 100644
--- a/global.c
+++ b/global.c
@@ -14,4 +14,11 @@ int _pthread_processInitialized = FALSE;
pthread_key_t _pthread_selfThreadKey = NULL;
pthread_key_t _pthread_cleanupKey = NULL;
+/*
+ * Global lock for testing internal state of PTHREAD_MUTEX_INITIALIZER
+ * created mutexes.
+ */
+CRITICAL_SECTION _pthread_mutex_test_init_lock;
+
+