Shuttle.Core.Threading 12.0.0

.NET Standard 2.0
dotnet add package Shuttle.Core.Threading --version 12.0.0
NuGet\Install-Package Shuttle.Core.Threading -Version 12.0.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="12.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Core.Threading --version 12.0.0
#r "nuget: Shuttle.Core.Threading, 12.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=12.0.0

// Install Shuttle.Core.Threading as a Cake Tool
#tool nuget:?package=Shuttle.Core.Threading&version=12.0.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) 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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

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

Package Downloads
Shuttle.Esb The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

Shuttle.Recall The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Event sourcing mechanism.

Shuttle.Core.ServiceHost The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Turns your console application into a Windows service.

Shuttle.Core.Data.CallContext The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

IDatabaseConnectionCache implementation for use in async/await scenarios.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
12.0.0 6,384 9/4/2022
11.1.2 292 4/9/2022
11.1.1 14,172 1/30/2021
11.0.2 6,588 1/17/2021
11.0.1 621 11/27/2020
11.0.0 14,079 6/21/2019
10.1.0 529 4/27/2019
10.0.2 39,855 7/4/2018
10.0.1 771 7/2/2018
10.0.0 8,589 1/3/2018