summaryrefslogtreecommitdiff
path: root/tsd.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 /tsd.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 'tsd.c')
-rw-r--r--tsd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tsd.c b/tsd.c
index 442cf2b..3c06782 100644
--- a/tsd.c
+++ b/tsd.c
@@ -160,7 +160,7 @@ pthread_key_delete (pthread_key_t key)
pthread_mutex_unlock (&(assoc->lock));
- _pthread_tkAssocDestroy (assoc);
+ ptw32_tkAssocDestroy (assoc);
assoc = next;
}
@@ -214,7 +214,7 @@ pthread_setspecific (pthread_key_t key, const void *value)
pthread_t self;
int result = 0;
- if (key != _pthread_selfThreadKey)
+ if (key != ptw32_selfThreadKey)
{
/*
* Using pthread_self will implicitly create
@@ -233,7 +233,7 @@ pthread_setspecific (pthread_key_t key, const void *value)
* Resolve catch-22 of registering thread with threadSelf
* key
*/
- self = (pthread_t) pthread_getspecific (_pthread_selfThreadKey);
+ self = (pthread_t) pthread_getspecific (ptw32_elfThreadKey);
if (self == NULL)
{
self = (pthread_t) value;
@@ -280,7 +280,7 @@ pthread_setspecific (pthread_key_t key, const void *value)
*/
if (assoc == NULL)
{
- result = _pthread_tkAssocCreate (&assoc, self, key);
+ result = ptw32_tkAssocCreate (&assoc, self, key);
}
}