summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
authorrpj <rpj>2001-02-09 06:51:30 +0000
committerrpj <rpj>2001-02-09 06:51:30 +0000
commit1648c7a97f27d10ad302c6141562ece01065e1d7 (patch)
treec16f939acf7ac98db38039d747f5804d04c33fe1 /global.c
parent2b3eede0b834a82c7dce5ec328f3929c0effc536 (diff)
Remodeled mutex routines again to eliminate critical sections.
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 128a17b..9278f07 100644
--- a/global.c
+++ b/global.c
@@ -54,3 +54,9 @@ CRITICAL_SECTION ptw32_cond_test_init_lock;
* created read/write locks.
*/
CRITICAL_SECTION ptw32_rwlock_test_init_lock;
+
+/*
+ * The default mutex type can be remapped by teh application
+ * via the pthread_mutex_setdefaulttype_np() function.
+ */
+int ptw32_mutex_mapped_default = PTHREAD_MUTEX_DEFAULT;