A function that returns the maximum number of threads that a work scheduler may use to perform work. The value may change over time and cause the scheduler to adapt to changing degrees of parallelism.

Namespace:  Gallio.Common.Concurrency
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public delegate int DegreeOfParallelismProvider()
Visual Basic (Declaration)
Public Delegate Function DegreeOfParallelismProvider As Integer

Return Value

The degree of parallelism which must be at least 1.

See Also