Skip to content

bubdm/Shuttle.Core.Threading

 
 

Repository files navigation

Shuttle.Core.Threading

PM> Install-Package Shuttle.Core.Threading

Provides various classes and interfaces to facilitate thread-based processing.

ProcessorThreadPool

public ProcessorThreadPool(string name, int threadCount, IProcessorFactory processorFactory)

Each thread pool has a name used only for identyfing the pool and for logging. The threadCount is specified and will run a Thread that calls the IProcessor.Execute(IThreadState state) instance provided by the IProcessorFactory.Create() method in a loop while the IThreadState.Active returns true.

About

Thread-based processing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%