Re: Maximum number of threads
Re: Maximum number of threads
- Subject: Re: Maximum number of threads
- From: Andreas Yankopolus <email@hidden>
- Date: Tue, 23 Nov 2004 10:31:04 -0500
Shawn,
Wow... why so many threads?
Why not a thread pool of worker threads that you can take tasks off of
a queue or something?
Somehow I knew this question would come up sooner or later :-)
I'm working on a communications simulation where the straightforward
approach involves creating one thread per node. This thread both
generates new messages based on traffic models and listens for messages
from other nodes. In some instances, more than one thread per node
would prove handy. The network has 15k+ nodes, and therein lies the
problem.
Cheers,
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden