CPUAffinityForNewThreadOptions

Use this enumeration to specify the CPUs on which a new thread executes.

  • CPUAffinityForNewThreadOption_UseAffinityOfCaller –(Value: 1) Specifies to use the CPU affinity of the calling sequence as the CPU affinity of the new thread.
  • CPUAffinityForNewThreadOption_UseAllCPUs –(Value: 2) Specifies to use all CPUs available to the process as the CPU affinity of the new thread.
  • CPUAffinityForNewThreadOption_UseCustomAffinity –(Value: 3) Specifies to use an expression to determine the CPU affinity of the new thread.
  • CPUAffinityForNewThreadOption_UseStationOption –(Value: 0) Specifies to use the StationOptions.DefaultCPUAffinityForThreadsEx property as the CPU affinity of the new thread.

See Also

SequenceCallModule.CPUAffinityForNewThreadOption