Creates a new instance of the TaskDistributor with ProcessorCount x2 worker threads.
The task distributor will auto start his worker threads.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public TaskDistributor( string name ) |
Visual Basic |
---|
Public Sub New ( _ name As String _ ) |
Visual C++ |
---|
public: TaskDistributor( String^ name ) |
Parameters
- name
- Type: System..::..String