NonBlocking 1.1.2

Install-Package NonBlocking -Version 1.1.2
dotnet add package NonBlocking --version 1.1.2
<PackageReference Include="NonBlocking" Version="1.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NonBlocking --version 1.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NonBlocking, 1.1.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NonBlocking as a Cake Addin
#addin nuget:?package=NonBlocking&version=1.1.2

// Install NonBlocking as a Cake Tool
#tool nuget:?package=NonBlocking&version=1.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Implementation of a lock-free dictionary on .Net

     Included types:
     === NonBlocking.ConcurrentDictionary
     Lock-free, wait-free implementation of a dictionary.
     - has the same API as System.Collections.Concurrent.ConcurrentDictionary.
     - No locks are taken during any operation including Get, Add, Remove, internal resizes etc...
     - While multiple threads accessing NonBlocking dictionary will help each other in operations such as table resizing, there is no dependency on such behavior. If any thread get unscheduled or delayed for whatever reason, other threads will be able to make progress independently.
     - NonBlocking dictionary scales linearly with the number of active threads if hardware permits.

     On most operations NonBlocking dictionary is faster than Concurrent, especially in write-heavy scenarios.

     Core algorithms are based on NonBlockingHashMap, written and released to the public domain by Dr. Cliff Click. A good overview could be found here:

     === Counter32
     === Counter64
     Low-overhead scalable counters.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NonBlocking:

Package Downloads

FunFair Common Test Infrastructure for building xUnit tests on top of.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.2 13,221 5/21/2020
1.1.1 2,003 5/14/2020
1.1.0 356 5/7/2020
1.0.3 13,241 2/13/2019
1.0.2 210,418 1/20/2018
1.0.0 917 7/20/2017
1.0.0-rc7 665 7/14/2017
1.0.0-rc6 872 5/19/2017
1.0.0-rc5 781 5/19/2017
1.0.0-rc4 834 5/10/2017

Some performance improvements.