X-Spam-Check-By: sourceware.org Date: Tue, 22 Aug 2006 10:22:32 +0200 From: Samuel Thibault To: cygwin AT cygwin DOT com Subject: Re: WG: Memory Problem with POSIX Thread under Windows XP Message-ID: <20060822082232.GD4827@implementation.labri.fr> Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.11 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Hi, Martin Jöhren, le Tue 22 Aug 2006 09:03:03 +0200, a écrit : > printf("\r\n%f",kk); > If i compile and start the executing file I can see in the windows > taskmanager, that the memory used by the program increases continuesly every > second. If I change the code in the testThread function so that printf > prints an integer variable, instead of double or float, on the console, > there won't be a problem. And if you write while(1) printf("\r\n%f",kk); there is no problem? Samuel -- 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/