SimpleHelpers.NamedLock 1.0.4

Synchronization helper: a static lock collection associated with a key.

NamedLock manages the lifetime of critical sections that can be accessed by a key (name) throughout the application. It also have some helper methods to allow a maximum wait time (timeout) to aquire the lock and safelly release it.

Note: this nuget package contains c# source code and depends on System.Collections.Concurrent introduced in .Net 4.0.

Install-Package SimpleHelpers.NamedLock -Version 1.0.4
dotnet add package SimpleHelpers.NamedLock --version 1.0.4
<PackageReference Include="SimpleHelpers.NamedLock" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleHelpers.NamedLock --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SimpleHelpers.NamedLock, 1.0.4"
#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 SimpleHelpers.NamedLock as a Cake Addin
#addin nuget:?package=SimpleHelpers.NamedLock&version=1.0.4

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

Release Notes

* Better documentation

Dependencies

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SimpleHelpers.NamedLock:

Package Downloads
SimpleHelpers.MemoryCache
Simple lightweight object in-memory cache, with a background timer to remove expired objects. Fast in-memory cache for data that are expensive to create and can be used in a thread-safe manner. All stored items are kept in concurrent data structures (ConcurrentDictionary) to allow multi-thread usage of the MemoryCache static methods. Note: this nuget package contains c# source code and depends on System.Collections.Concurrent introduced in .Net 4.0.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.4 9,988 6/21/2015
1.0.3 5,607 4/15/2013
1.0.2 763 4/12/2013
1.0.1 918 4/12/2013
1.0.0 781 4/12/2013