delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/22/05:17:12

X-Spam-Check-By: sourceware.org
Message-ID: <B92EA0296F30D611A71E000475744AAD6FD4BC@10.10.IANA-CBLK-RESERVED1>
From: =?ISO-8859-1?Q?Martin_J=F6hren?= <m DOT joehren AT hoppe-bmt DOT de>
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)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019