diff options
author | rpj <rpj> | 2000-08-17 10:18:36 +0000 |
---|---|---|
committer | rpj <rpj> | 2000-08-17 10:18:36 +0000 |
commit | a366b6d8c2e6debf247c82af3d41aa2483711c52 (patch) | |
tree | e2a2f6785897a8789f88403e99d4f03dce301607 /exit.c | |
parent | 951895c3aa196e90d4a5ecefe337d8773b8d33b7 (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 'exit.c')
-rw-r--r-- | exit.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |