delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/22/04:22:43

X-Spam-Check-By: sourceware.org
Date: Tue, 22 Aug 2006 10:22:32 +0200
From: Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org>
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: <B92EA0296F30D611A71E000475744AAD6FD4B5 AT 10 DOT 10 DOT IANA-CBLK-RESERVED1>
Mime-Version: 1.0
In-Reply-To: <B92EA0296F30D611A71E000475744AAD6FD4B5@10.10.IANA-CBLK-RESERVED1>
User-Agent: Mutt/1.5.11
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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/

- Raw text -


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