How to limit number of CPU cores used by a Cocoa app
How to limit number of CPU cores used by a Cocoa app
- Subject: How to limit number of CPU cores used by a Cocoa app
- From: Andre Schnoor <email@hidden>
- Date: Sat, 29 Dec 2007 18:09:50 +0100
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:
This email sent to email@hidden