Shuttle.Core.Threading
12.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Shuttle.Core.Threading --version 12.0.0
NuGet\Install-Package Shuttle.Core.Threading -Version 12.0.0
<PackageReference Include="Shuttle.Core.Threading" Version="12.0.0" />
paket add Shuttle.Core.Threading --version 12.0.0
#r "nuget: Shuttle.Core.Threading, 12.0.0"
// 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 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
- Shuttle.Core.Contract (>= 10.1.0)
- Shuttle.Core.Reflection (>= 12.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,341 | 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 |