Helios.DedicatedThreadPool
0.2.0
See the version list below for details.
dotnet add package Helios.DedicatedThreadPool --version 0.2.0
NuGet\Install-Package Helios.DedicatedThreadPool -Version 0.2.0
<PackageReference Include="Helios.DedicatedThreadPool" Version="0.2.0" />
<PackageVersion Include="Helios.DedicatedThreadPool" Version="0.2.0" />
<PackageReference Include="Helios.DedicatedThreadPool" />
paket add Helios.DedicatedThreadPool --version 0.2.0
#r "nuget: Helios.DedicatedThreadPool, 0.2.0"
#:package Helios.DedicatedThreadPool@0.2.0
#addin nuget:?package=Helios.DedicatedThreadPool&version=0.2.0
#tool nuget:?package=Helios.DedicatedThreadPool&version=0.2.0
An instanced, dedicated ThreadPool for eliminating "noisy neighbor" problems on the CLR ThreadPool
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Helios.DedicatedThreadPool:
| Package | Downloads |
|---|---|
|
eActor
c# actor implementation |
GitHub repositories
This package is not used by any popular GitHub repositories.
Added deadlock detection to the `DedicatedThreadPool` and other bug / performance fixes.
Deadlock detection is somewhat simplistic and it can't tell the difference between extremely long running tasks and a deadlock, so by default it's disabled.
However, if you want to enable it you can turn it on via the the `DedicatedThreadPoolSettings` class:
```csharp
/*
Any task running longer than 5 seconds will be assumed deadlocked
and aborted.
/
using (var threadPool = new Helios.Concurrency.DedicatedThreadPool(
new DedicatedThreadPoolSettings(numThreads, TimeSpan.FromSeconds(5))))
{
threadPool.QueueUserWorkItem(() => { ... }));
}
```