Hi Samuel, yes, there is no problem when I write:
double kk = 1.2323231; while(1) printf("\r\n %f \r\n",kk); in main function. The problem occures only in combination with a thread. I tried now the same code (with some little changes) with the boost thread library under C++. There is also the same memory problem. This indicates that the problem lies in the cygwin shell or in gcc or it is a windows based problem, which could mean that windows is not abled to free the threads as fast as the program creates new ones. Any ideas? Martin Jöhren Hoppe Bordmesstechnik Tel: +49 40/56 19 49-24 Fax: +49 40/56 19 49-99 e-mail: [EMAIL PROTECTED] Internet: www.hoppe-bmt.de -- 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/