Processor Affinity Functions

eRTOS provides several functions for managing processor affinity for a specific thread or process.

The functions above that set and retrieve processor affinity masks (GetProcessAffinityMask, SetProcessAffinityMask, SetThreadAffinityMask, RtCreateTimerEx, RtGetProcessAffinityMask, and RtSetProcessAffinityMask) use bitmasks to represent the mask. See Specifying a Processor Affinity Bitmask below for details.

Note: See the Affinity Masks section of Using the Real-Time API for information on when to use RtGetProcessAffinityMask versus GetProcessAffinityMask.

Related topics: