X-Spam-Check-By: sourceware.org Message-ID: From: =?ISO-8859-1?Q?Martin_J=F6hren?= To: cygwin AT cygwin DOT com Subject: Re: WG: Memory Problem with POSIX Thread under Windows XP Date: Tue, 22 Aug 2006 12:08:47 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I tried following code with vs2005, and... there is no memory problem! So the bug must be located in CYGWIN or in GCC. Form now on it seems to me, that I really need help. Cause I'm not so familiar with deeper CYGWIN or GCC problems. I'm looking foward for any ideas how to handle the problem... THX #include "stdafx.h" #include "windows.h" DWORD WINAPI testThread(LPVOID lpParam) { double k = 1.23223423; printf("\r\n %f \r\n",k); return 0; } int _tmain(int argc, _TCHAR* argv[]) { HANDLE tHandle; while(1) { tHandle = CreateThread( NULL, NULL, &testThread, NULL, NULL, NULL ); WaitForSingleObject(tHandle,1000); CloseHandle(tHandle); } return 0; } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/