• 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
Getting the number of CPUs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the number of CPUs?


  • Subject: Getting the number of CPUs?
  • From: Ken Tabb <email@hidden>
  • Date: Tue, 7 Aug 2001 18:52:05 +0100

Hi,
is there any Cocoa-y way of getting the number of CPUs on the host? I'm
aiming to use this as part of a thread-spawning decision process (so that
a single processor machine doesn't get twice as many threads as it needs
to do the job).

Cheers,
Ken

---------
Ken Tabb.
Mac & UNIX C/C++/Java developer (Health & Human Sciences),
Machine Vision researcher/programmer (Computer Science),
University of Hertfordshire, England
http://www.health.herts.ac.uk/ken/

Certified non-Microsoft Solution Provider


  • Prev by Date: It is time for me to take a decision.
  • Next by Date: Re: Getting the number of CPUs?
  • Previous by thread: Re: It is time for me to take a decision.
  • Next by thread: Re: Getting the number of CPUs?
  • Index(es):
    • Date
    • Thread