Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maximum number of threads



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Maximum number of threads (From: Andreas Yankopolus <email@hidden>)
 >Re: Maximum number of threads (From: Shawn Erickson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.