| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
> what are the limits, if any other than simply the power of the computer, with
> multithreading? how many threads can you have? i'm hoping that you can have a
> large number of them.
Depends on what you mean by a 'large number'. dozens? hundreds? thousands?
more?
It all depends on what you're planning on doing with them. If they're all
computationally expensive
Also remember that threads take up resources. They occupy a slot in
the scheduler, each thread has a chunk of memory to use as a stack. If
you're doing cocoa stuff in each thread you'll need an autorelease
pool, etc, etc.
Probably the best thing to do is to just wade in and try it, and see what happens.
| References: | |
| >Re: multithreading limits? (From: Mark Dalrymple <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.