Re: simple pthread consumes memory

2006-09-23 Thread balazs
View this message in context: http://www.nabble.com/simple-pthread-consumes-memory-tf2320485.html#a6461140 Sent from the gcc - Dev mailing list archive at Nabble.com.

Re: simple pthread consumes memory

2006-09-22 Thread Lothar Werzinger
balazs wrote: > Hi - I start a simple pthread and the program consumes about 10 Mbytes of > virtual memory. If I start 10 threads, it consumes 100 Mbytes. That's off topic, but the answer is that the default stack size for a thread on your machine seems to be 10M. If you know you don't need such

Re: simple pthread consumes memory

2006-09-22 Thread Mike Stump
On Sep 22, 2006, at 3:51 PM, balazs wrote: Hi - I start a simple pthread and the program consumes about 10 Mbytes of virtual memory. And why do you think that sending email to this list would be a good idea? View this message in context: http://www.nabble.com/simple-pthread- consumes

simple pthread consumes memory

2006-09-22 Thread balazs
;mythread, 0, &myfunction, NULL ); pthread_join( mythread, NULL ); } -- View this message in context: http://www.nabble.com/simple-pthread-consumes-memory-tf2320485.html#a6456330 Sent from the gcc - Dev mailing list archive at Nabble.com.