summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
authorrpj <rpj>2000-08-17 10:18:36 +0000
committerrpj <rpj>2000-08-17 10:18:36 +0000
commita366b6d8c2e6debf247c82af3d41aa2483711c52 (patch)
treee2a2f6785897a8789f88403e99d4f03dce301607 /global.c
parent951895c3aa196e90d4a5ecefe337d8773b8d33b7 (diff)
2000-08-17 Ross Johnson <rpj@special.ise.canberra.edu.au>
* All applicable: Change _pthread_ prefix to ptw32_ prefix to remove leading underscores from private library identifiers (single and double leading underscores are reserved in the ANSI C standard for compiler implementations).
Diffstat (limited to 'global.c')
-rw-r--r--global.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/global.c b/global.c
index 147ca13..e55fc5b 100644
--- a/global.c
+++ b/global.c
@@ -28,24 +28,24 @@
#include "implement.h"
-int _pthread_processInitialized = FALSE;
-pthread_key_t _pthread_selfThreadKey = NULL;
-pthread_key_t _pthread_cleanupKey = NULL;
+int ptw32_processInitialized = FALSE;
+pthread_key_t ptw32_selfThreadKey = NULL;
+pthread_key_t ptw32_leanupKey = NULL;
/*
* Global lock for testing internal state of PTHREAD_MUTEX_INITIALIZER
* created mutexes.
*/
-CRITICAL_SECTION _pthread_mutex_test_init_lock;
+CRITICAL_SECTION ptw32_mutex_test_init_lock;
/*
* Global lock for testing internal state of PTHREAD_COND_INITIALIZER
* created condition variables.
*/
-CRITICAL_SECTION _pthread_cond_test_init_lock;
+CRITICAL_SECTION ptw32_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;
+CRITICAL_SECTION ptw32_rwlock_test_init_lock;