From 6df0e45cf47b5eaee00f21a5862e8f0c5107a4e2 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 8 Mar 2005 06:38:22 +0000 Subject: '' --- ptw32_threadDestroy.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ptw32_threadDestroy.c') 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); } -- cgit v1.2.3