X-Spam-Check-By: sourceware.org Date: Wed, 11 Oct 2006 10:22:04 +0200 From: Corinna Vinschen 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i 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 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/