Processor Affinity Functions

RTX 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, 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.

 

See Also

IntervalZero.com | Support | Give Feedback