Shuttle.Core.Threading 13.1.0

Prefix Reserved
dotnet add package Shuttle.Core.Threading --version 13.1.0                
NuGet\Install-Package Shuttle.Core.Threading -Version 13.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Shuttle.Core.Threading" Version="13.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Core.Threading --version 13.1.0                
#r "nuget: Shuttle.Core.Threading, 13.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Shuttle.Core.Threading as a Cake Addin
#addin nuget:?package=Shuttle.Core.Threading&version=13.1.0

// Install Shuttle.Core.Threading as a Cake Tool
#tool nuget:?package=Shuttle.Core.Threading&version=13.1.0                

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, ProcessorThreadOptions processorThreadOptions);

Each thread pool has a name used only for identyfing the pool. The threadCount determines the number of ProcessorThread instances in the pool. Each ProcessorThread calls the IProcessor.Execute(CancellationToken) method, or IProcessor.ExecuteAsync(CancellationToken) method if started asynchronously, on the instance provided by the IProcessorFactory.Create() method in a loop while the CancellationToken.IsCancellationRequested returns false.

ProcessorThreadOptions

Option Default Description
JoinTimeout 00:00:15 The duration to allow the processor thread to join the main thread.
IsBackground true Indicates whether the thread will be started as a background thread. Background threads are instantly killed when the host process stops.
Priority ThreadPriority.Normal Indicates the thread priority.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Shuttle.Core.Threading:

Package Downloads
Shuttle.Esb

Contains the core Shuttle.Esb assembly that should always be referenced when building Shuttle.Esb solutions.

Shuttle.Recall

Event sourcing mechanism.

Shuttle.Core.ServiceHost

Turns your console application into a Windows service.

Shuttle.Core.Data.CallContext

IDatabaseConnectionCache implementation for use in async/await scenarios.

Shuttle.Core.Data.ThreadDatabaseContextScope

Provides a mechanism to create a new database context scope per processor thread.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
13.1.0 953 8/5/2024
13.0.0 2,134 4/30/2024
12.0.1 15,269 12/1/2022
12.0.0 27,830 9/4/2022
11.1.2 1,057 4/9/2022
11.1.1 40,196 1/30/2021
11.0.2 13,003 1/17/2021
11.0.1 2,660 11/27/2020
11.0.0 36,379 6/21/2019
10.1.0 1,179 4/27/2019
10.0.2 72,422 7/4/2018
10.0.1 1,485 7/2/2018
10.0.0 22,557 1/3/2018