Share via


SMP Functions (Compact 2013)

3/28/2014

The following table shows the functions available for symmetric multiprocessing (SMP).

Function

Description

GetCurrentProcessorNumber

Obtains the number of the processor on which the current thread is running during the call to this function.

CeGetIdleTimeEx

Obtains the idle time for the specified processor.

CeGetProcessAffinity

Obtains the process affinity for the specified process.

CeGetThreadAffinity

Obtains the thread affinity of the specified thread.

CeGetTotalProcessors

Obtains the total number of processors in the system.

CePowerOffProcessor

Turns off the specified processor.

CePowerOnProcessor

Turns on the specified processor.

CeSetProcessAffinity

Sets a processor affinity for the specified process.

CeSetThreadAffinity

Sets a processor affinity for the specified thread.

NKAcquireOalSpinLock

Acquires an OEM adaptation layer (OAL) spin lock to protect shared resources.

NKReleaseOalSpinLock

Releases an OAL spin lock that protects shared resources.

NKSendInterProcessorInterrupt

Sends a platform-specific interprocessor interrupt (IPI) to the specified processor.

OEMIdleEx

Places the CPUs in the idle state when there are no threads ready to run.

OEMIpiHandler

Handles platform-specific IPIs.

OEMMpCpuPowerFunc

Changes the power state of a specific CPU in a multiprocessor platform.

OEMMpPerCPUInit

Performs tasks the OEM consider necessary to initialize each subordinate CPU in a multiprocessor platform.

OEMSendIPI

Sends an IPI.

OEMMpStartAllCPUs

Runs on the master CPU and starts all subordinate CPUs in a multiprocessor platform.

See Also

Reference

SMP Reference