Thanks, i got it to work as i wanted, i was using to many threads with no reason, but this clear my mind
Thanks, i got it to work as i wanted, i was using to many threads with no reason, but this clear my mind
CAFU......
One more Question how can i Know if i am creating to many threads? even if they work properly together, at leat aparently
Last edited by cafu; 15th March 2010 at 10:34.
CAFU......
You have too many threads when
# you loose overview
# scheduling overhead slows the application down
When having tasks that need to be done, I always prefer a thread pool (threads handling scheduled tasks).
There's a pretty decent article on having too many threads and task based programming at http://www.codeguru.com/cpp/misc/mis...cle.php/c13533
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
Bookmarks