TCnProcess.ProcessorAffinity Property

Gets or sets the processors on which the threads in this process can be scheduled to run.

Namespace: CNClrLib.Component.Process
 property ProcessorAffinity: _IntPtr read GetProcessorAffinity write SetProcessorAffinity;

Property Value

Type: _IntPtr

A bitmask representing the processors that the threads in the associated process can run on. The default depends on the number of processors on the computer. The default value is 2(Exp)n -1, where n is the number of processors.