delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/11/04:22:19

X-Spam-Check-By: sourceware.org
Date: Wed, 11 Oct 2006 10:22:04 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: WG: Memory Problem with POSIX Thread under Windows XP
Message-ID: <20061011082204.GM13105@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
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.4.2i
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

On Aug 22 09:03, Martin J?hren wrote:
> Hello everyone,
> 
> ich have a problem under Windows XP using CYGWIN 3.1.17(6)-release
> (i686-pc-cygwin) with GCC 3.4.4 with the following code:
> 
> 
> void *testThread(void *data) 
> { 
>     double kk = 1.232231212; 
>     printf("\r\n%f",kk); 
>     //pthread_exit(NULL); 
>     return(NULL); 
> } 
> 
> int main (int argc, char *argv[]) 
> { 
>     pthread_t t; 
> 
>     while(1) 
>     { 
>         
>         pthread_create(&t,NULL,testThread,NULL); 
>         pthread_join(t,NULL); 
>         
>         
>     } 
>         return 1; 
> } 
> 
> 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. [...]

Thanks for the report.  This problem has been fixed now in CVS.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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