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 11:13:36 +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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k7M9H5Sc005294 Hi Samuel, yes, there is no problem when I write: double kk = 1.2323231; while(1) printf("\r\n %f \r\n",kk); in main function. The problem occures only in combination with a thread. I tried now the same code (with some little changes) with the boost thread library under C++. There is also the same memory problem. This indicates that the problem lies in the cygwin shell or in gcc or it is a windows based problem, which could mean that windows is not abled to free the threads as fast as the program creates new ones. Any ideas? Martin Jöhren Hoppe Bordmesstechnik Tel: +49 40/56 19 49-24 Fax: +49 40/56 19 49-99 e-mail: m DOT joehren AT hoppe-bmt DOT de Internet: www.hoppe-bmt.de -- 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/