This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: WG: Memory Problem with POSIX Thread under Windows XP
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 11 Oct 2006 10:22:04 +0200
- Subject: Re: WG: Memory Problem with POSIX Thread under Windows XP
- References: <B92EA0296F30D611A71E000475744AAD6FD4B5@10.10.IANA-CBLK-RESERVED1>
- Reply-to: 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/