From 6ae85d969228650bd4cf432bd4d6dcd959bf1a59 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 30 Jul 2002 17:26:17 +0000 Subject: *** empty log message *** --- ptw32_threadDestroy.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ptw32_threadDestroy.c') diff --git a/ptw32_threadDestroy.c b/ptw32_threadDestroy.c index 37fda08..1c503a6 100644 --- a/ptw32_threadDestroy.c +++ b/ptw32_threadDestroy.c @@ -51,18 +51,18 @@ ptw32_threadDestroy (pthread_t thread) ptw32_callUserDestroyRoutines (thread); if (thread->cancelEvent != NULL) - { - CloseHandle (thread->cancelEvent); - } + { + CloseHandle (thread->cancelEvent); + } (void) pthread_mutex_destroy(&thread->cancelLock); #if ! defined (__MINGW32__) || defined (__MSVCRT__) /* See documentation for endthread vs endthreadex. */ if( thread->threadH != 0 ) - { - CloseHandle( thread->threadH ); - } + { + CloseHandle( thread->threadH ); + } #endif free (thread); -- cgit v1.2.3