Getting the number of CPUs?
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