Mailing Lists: Apple Mailing Lists

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

How to limit number of CPU cores used by a Cocoa app



Hi all,

is there any possibility to limit the number of CPU cores used by the threads of a Cocoa application? I could not seem to find any documentation on this via Google yet.

I need to allocate up to a maximum of 2 cores only, even though the app schedules many more threads at times (up to a dozen). Can this be achieved by configuring the application's properties, or will it require more sophisticated hacks?

Any advice is appreciated.

Andre

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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.