From a366b6d8c2e6debf247c82af3d41aa2483711c52 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 17 Aug 2000 10:18:36 +0000 Subject: 2000-08-17 Ross Johnson * 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). --- exit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'exit.c') diff --git a/exit.c b/exit.c index 2b9e165..146bf7a 100644 --- a/exit.c +++ b/exit.c @@ -62,15 +62,15 @@ pthread_exit (void *value_ptr) /* If the current thread is implicit it was not started through pthread_create(), therefore we cleanup and end the thread here. Otherwise we raise an exception to unwind the exception - stack. The exception will be caught by _pthread_threadStart(), + stack. The exception will be caught by ptw32_threadStart(), which will cleanup and end the thread for us. */ - self = (pthread_t) pthread_getspecific (_pthread_selfThreadKey); + self = (pthread_t) pthread_getspecific (ptw32_selfThreadKey); if (self == NULL || self->implicit) { - _pthread_callUserDestroyRoutines(self); + ptw32_allUserDestroyRoutines(self); #if ! defined (__MINGW32__) || defined (__MSVCRT__) _endthreadex ((unsigned) value_ptr); @@ -105,7 +105,7 @@ pthread_exit (void *value_ptr) (void) pthread_pop_cleanup( 1 ); - _pthread_callUserDestroyRoutines(self); + ptw32_callUserDestroyRoutines(self); #if ! defined (__MINGW32__) || defined (__MSVCRT__) _endthreadex ((unsigned) value_ptr); -- cgit v1.2.3