Carbon


MPProcessorsScheduled

Header: Multiprocessing.h Carbon status: Supported

Returns the number of active processors available on the host computer.

ItemCount MPProcessorsScheduled ();
function result

The number of active processors available on the host computer.

DISCUSSION

The number of active processors is defined as the number of processors scheduled to run tasks. This number varies while the system is running. Advanced power management facilities may stop or start scheduling processors in the system to control power consumption or to maintain a proper operating temperature.

See also the function MPProcessors.

VERSION NOTES

Introduced with Multiprocessing Services 2.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)