AsyncConfigBaseMaxDegreeOfParallelism Property
Gets or sets the maximum degree of parallelism. Zero or less means an automatic configuration based on CPU cores.
Set one to execute the operation on a single core. The asynchronous operation will not be blocking even if 1 is set.
Default value: 0.
Namespace: KGySoft.ThreadingAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public int MaxDegreeOfParallelism { get; set; }
Public Property MaxDegreeOfParallelism As Integer
Get
Set
public:
property int MaxDegreeOfParallelism {
int get ();
void set (int value);
}
member MaxDegreeOfParallelism : int with get, set
Property Value
Int32