From a824c43d3f20fc5722c5fd8f0f942f632b961723 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 16 May 2005 15:42:44 +0000 Subject: '' --- ptw32_throw.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ptw32_throw.c') diff --git a/ptw32_throw.c b/ptw32_throw.c index 57814e9..493f4e4 100644 --- a/ptw32_throw.c +++ b/ptw32_throw.c @@ -85,8 +85,12 @@ ptw32_throw (DWORD exception) break; } +#if defined(PTW32_STATIC_LIB) + pthread_win32_thread_detach_np (); +#endif + #if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) _endthreadex (exitCode); #else -- cgit v1.2.3