diff options
Diffstat (limited to 'dll.c')
-rw-r--r-- | dll.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -152,14 +152,12 @@ DllMain ( /* * Detached threads have their resources automatically - * cleaned up upon exit (others must be 'joined' + * cleaned up upon exit (others must be 'joined'). */ if (self != NULL && self->detachState == PTHREAD_CREATE_DETACHED) { - pthread_setspecific (_pthread_selfThreadKey, NULL); - _pthread_threadDestroy (self); } |