SimpleContext Constructor
Initializes a new instance of the
SimpleContext class with the specified maximum degree of parallelism.
Namespace: KGySoft.ThreadingAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public SimpleContext(
int maxDegreeOfParallelism
)
Public Sub New (
maxDegreeOfParallelism As Integer
)
public:
SimpleContext(
int maxDegreeOfParallelism
)
new :
maxDegreeOfParallelism : int -> SimpleContext
Parameters
- maxDegreeOfParallelism Int32
- Specifies the maximum degree of parallelism. If zero or less, then it will be adjusted automatically.