diff options
author | rpj <rpj> | 2005-03-08 06:38:22 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-03-08 06:38:22 +0000 |
commit | 6df0e45cf47b5eaee00f21a5862e8f0c5107a4e2 (patch) | |
tree | 7b63ddb5bab73bc6548849046017ba576a6d1f06 /ptw32_threadDestroy.c | |
parent | a73ddf9293a5afd2d92e6e65e32eebd5389e3df9 (diff) |
''
Diffstat (limited to 'ptw32_threadDestroy.c')
-rw-r--r-- | ptw32_threadDestroy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ptw32_threadDestroy.c b/ptw32_threadDestroy.c index b4b9fac..b88e5d9 100644 --- a/ptw32_threadDestroy.c +++ b/ptw32_threadDestroy.c @@ -76,10 +76,8 @@ ptw32_threadDestroy (pthread_t thread) #if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) /* * See documentation for endthread vs endthreadex. - * Don't close the Win32 handle of implicit POSIX threads - * because the process may want to call GetExitCodeThread(). */ - if (threadCopy.threadH != 0 && !threadCopy.implicit) + if (threadCopy.threadH != 0) { CloseHandle (threadCopy.threadH); } |