Shuttle.Core.Threading
13.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Shuttle.Core.Threading --version 13.0.0
NuGet\Install-Package Shuttle.Core.Threading -Version 13.0.0
<PackageReference Include="Shuttle.Core.Threading" Version="13.0.0" />
paket add Shuttle.Core.Threading --version 13.0.0
#r "nuget: Shuttle.Core.Threading, 13.0.0"
// Install Shuttle.Core.Threading as a Cake Addin #addin nuget:?package=Shuttle.Core.Threading&version=13.0.0 // Install Shuttle.Core.Threading as a Cake Tool #tool nuget:?package=Shuttle.Core.Threading&version=13.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)
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 | Versions 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. |
-
- Microsoft.Extensions.Options (>= 7.0.1)
- Shuttle.Core.Contract (>= 11.1.0)
- Shuttle.Core.Reflection (>= 13.0.0)
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 | 1,233 | 8/5/2024 |
13.0.0 | 2,301 | 4/30/2024 |
12.0.1 | 15,502 | 12/1/2022 |
12.0.0 | 27,832 | 9/4/2022 |
11.1.2 | 1,058 | 4/9/2022 |
11.1.1 | 40,253 | 1/30/2021 |
11.0.2 | 13,048 | 1/17/2021 |
11.0.1 | 2,661 | 11/27/2020 |
11.0.0 | 36,716 | 6/21/2019 |
10.1.0 | 1,180 | 4/27/2019 |
10.0.2 | 72,738 | 7/4/2018 |
10.0.1 | 1,490 | 7/2/2018 |
10.0.0 | 22,599 | 1/3/2018 |