Carbon


MPProcessors

Header: Multiprocessing.h Carbon status: Supported

Returns the number of processors on the host computer.

ItemCount MPProcessors ();
function result

The number of physical processors on the host computer.

DISCUSSION

See also the function MPProcessorsScheduled.

VERSION NOTES

Introduced with Multiprocessing Services 1.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)