StationOptions.DefaultCPUAffinityForThreadsEx
- Updated2025-07-21
- 1 minute(s) read
StationOptions.DefaultCPUAffinityForThreadsEx
Syntax
StationOptions.DefaultCPUAffinityForThreadsEx
Data Type
Purpose
Specifies which CPUs to use for threads TestStand creates and the user interface thread.
Remarks
This property is a number in which each bit represents a CPU. The lowest-order bit represents the first CPU. For example, a value of 12 , which is 1100 in binary, represents CPUs 3 and 4 on a quad-core computer. A value of -1 specifies to use all CPUs available to the process.
TestStand does not update the CPU affinity of threads for currently executing sequences when you change this property.
Refer to Using TestStand on SMP Systems for more information about optimizing TestStand performance on symmetric multiprocessing (SMP) systems for multithreaded applications.