• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to limit number of CPU cores used by a Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to limit number of CPU cores used by a Cocoa app
      • From: Chris Hanson <email@hidden>
    • Re: How to limit number of CPU cores used by a Cocoa app
      • From: John Stiles <email@hidden>
  • Prev by Date: ANN: Source Code Highlighting for Quick Look
  • Next by Date: NSImage <-> CIImage problems...
  • Previous by thread: ANN: Source Code Highlighting for Quick Look
  • Next by thread: Re: How to limit number of CPU cores used by a Cocoa app
  • Index(es):
    • Date
    • Thread