This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: WG: Memory Problem with POSIX Thread under Windows XP


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]