Notes
This module provides information about identical processor cores and is to support symmetric multiprocessing systems. This module is abstract, that is, an implementation must be provided by a port in order to support multitasking, even on a single-core platform.
Include
stdint.h |
Constants
AO_CORE_COUNT
#define AO_CORE_COUNT (1)
The number of identical processor cores.
Types
ao_core_t
typedef uint32_t ao_core_t;
This type is an alias for an unsigned integer type that can hold the zero-based index of a processor core.
Functions
ao_core
ao_core_t ao_core();
Gets the zero-based index of the processor core, on which the calling thread of execution is running.