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);
> //p
On Tue, Aug 22, 2006 at 12:46:18PM +0100, Dave Korn wrote:
>On 22 August 2006 11:09, Martin J?hren wrote:
>>I tried following code with vs2005, and... there is no memory problem!
>>So the bug must be located in CYGWIN or in GCC. Form now on it seems
>>to me, that I really need help. Cause I'm no
On 22 August 2006 11:09, Martin Jöhren wrote:
> I tried following code with vs2005, and... there is no memory problem! So
> the bug must be located in CYGWIN or in GCC. Form now on it seems to me,
> that I really need help. Cause I'm not so familiar with deeper CYGWIN or GCC
> problems. I'm lookin
I tried following code with vs2005, and... there is no memory problem! So
the bug must be located in CYGWIN or in GCC. Form now on it seems to me,
that I really need help. Cause I'm not so familiar with deeper CYGWIN or GCC
problems. I'm looking foward for any ideas how to handle the problem...
TH
Martin Jöhren, le Tue 22 Aug 2006 11:13:36 +0200, a écrit :
> 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?
I doubt it may
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 als
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
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 arg
8 matches
Mail list logo