Processor Affinity Functions

RTX64 provides a number of 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 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: