Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.83 KB

Work.T1.T2.TResult...ctor.Y3jQ0DycSLsGlIps0HsJog.md

File metadata and controls

20 lines (17 loc) · 1.83 KB

Work<T1,T2,TResult>.Work(Func<T1,T2,TResult>, bool, int) Constructor

Stores the method so that it can later be called when a new thread starts.

public Work(System.Func<T1,T2,TResult> work, bool allowSimultaneousActive, int maximumThreadsActive);

Parameters

work System.Func<T1,T2,TResult>
The method to call when thread starts.

allowSimultaneousActive System.Boolean
Whether it should allow multiple of itself to be running at once.

maximumThreadsActive System.Int32
The amount of threads this class, and all of its overloads can run at once.