C# Class concord.Builders.ThreadingManagers.RunOnThreadPool

Inheritance: IParallelManager
显示文件 Open project: uShip/Concord

Public Methods

Method Description
RunActionsParallel ( int maxConcurrentRunners, IEnumerable buildSortedAllActions, CancellationToken token, TextWriterWrapper stdOut, ProgressStats runningTests, Stopwatch totalRuntime, ConcurrentBag testResults ) : void

Private Methods

Method Description
CreateThread ( TestRunAction action, CancellationToken token, TextWriterWrapper stdOut, ProgressStats runningTests, Stopwatch totalRuntime, ConcurrentBag testResults ) : void
RunTest ( MethodParameters mp ) : void
RunTest ( object parameters ) : void

Method Details

RunActionsParallel() public method

public RunActionsParallel ( int maxConcurrentRunners, IEnumerable buildSortedAllActions, CancellationToken token, TextWriterWrapper stdOut, ProgressStats runningTests, Stopwatch totalRuntime, ConcurrentBag testResults ) : void
maxConcurrentRunners int
buildSortedAllActions IEnumerable
token System.Threading.CancellationToken
stdOut concord.Wrappers.TextWriterWrapper
runningTests ProgressStats
totalRuntime Stopwatch
testResults ConcurrentBag
return void