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 920f556..9291949 100644
--- a/global.c
+++ b/global.c
@@ -51,3 +51,10 @@ CRITICAL_SECTION ptw32_cond_test_init_lock;
* created read/write locks.
*/
CRITICAL_SECTION ptw32_rwlock_test_init_lock;
+
+#ifdef _UWIN
+/*
+ * Keep a count of the number of threads.
+ */
+int pthread_count = 0;
+#endif