diff options
author | rpj <rpj> | 2005-05-18 14:35:16 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-05-18 14:35:16 +0000 |
commit | 2f7259b53b446762a1178150b0762c734b85c206 (patch) | |
tree | 517e8077e3f4689d2ac331d7000757994cebfd2b /pthread_win32_attach_detach_np.c | |
parent | 2531397c796d14f5fb934ae3fcf3c5327bd41bc9 (diff) |
''
Diffstat (limited to 'pthread_win32_attach_detach_np.c')
-rw-r--r-- | pthread_win32_attach_detach_np.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pthread_win32_attach_detach_np.c b/pthread_win32_attach_detach_np.c index d839c70..2b99d53 100644 --- a/pthread_win32_attach_detach_np.c +++ b/pthread_win32_attach_detach_np.c @@ -263,8 +263,6 @@ pthread_win32_thread_detach_np () if (sp != NULL) // otherwise Win32 thread with no implicit POSIX handle. { - HANDLE threadH = sp->threadH; - ptw32_callUserDestroyRoutines (sp->ptHandle); (void) pthread_mutex_lock (&sp->cancelLock); @@ -279,11 +277,6 @@ pthread_win32_thread_detach_np () { ptw32_threadDestroy (sp->ptHandle); - if (threadH != 0) - { - CloseHandle (threadH); - } - TlsSetValue (ptw32_selfThreadKey->key, NULL); } } |