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
<PackageReference Include="Shuttle.Core.Threading" Version="13.1.0" />
paket add Shuttle.Core.Threading --version 13.1.0
#r "nuget: Shuttle.Core.Threading, 13.1.0"
// 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 | 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,339 | 8/5/2024 |
13.0.0 | 2,363 | 4/30/2024 |
12.0.1 | 15,519 | 12/1/2022 |
12.0.0 | 27,837 | 9/4/2022 |
11.1.2 | 1,061 | 4/9/2022 |
11.1.1 | 40,281 | 1/30/2021 |
11.0.2 | 13,076 | 1/17/2021 |
11.0.1 | 2,666 | 11/27/2020 |
11.0.0 | 36,928 | 6/21/2019 |
10.1.0 | 1,183 | 4/27/2019 |
10.0.2 | 72,947 | 7/4/2018 |
10.0.1 | 1,493 | 7/2/2018 |
10.0.0 | 22,627 | 1/3/2018 |