Helios.DedicatedThreadPool 0.2.0

There is a newer version of this package available.
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
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="Helios.DedicatedThreadPool" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Helios.DedicatedThreadPool --version 0.2.0
#r "nuget: Helios.DedicatedThreadPool, 0.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Helios.DedicatedThreadPool as a Cake Addin
#addin nuget:?package=Helios.DedicatedThreadPool&version=0.2.0

// Install Helios.DedicatedThreadPool as a Cake Tool
#tool nuget:?package=Helios.DedicatedThreadPool&version=0.2.0

An instanced, dedicated ThreadPool for eliminating "noisy neighbor" problems on the CLR ThreadPool

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.0 3,584 4/5/2016
0.2.0 1,383 3/27/2015
0.1.0 1,002 3/18/2015

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(() => { ... }));
}
```