Locker 1.2.0

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

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

Binaries for the Locker library.
       Visit for an overview and usage examples.

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
1.2.0 12,018 2/6/2014
1.1.1 734 1/31/2014
1.1.0 773 1/31/2014
1.0.0 736 1/17/2014


       Version 1.2.0:
        - Locker methods are now extension methods on ReaderWriterLockSlim

       Version 1.1.1:
        - Add source files to NuGet package

       Version 1.1.0:
        - Added the TryLock methods:
        - Locker.TryReadLock(ReaderWriterLockSlim, rwlock, int timeout, Action whileReadLocked)
        - Locker.TryReadLock(ReaderWriterLockSlim, rwlock, TimeSpan timeout, Action whileReadLocked)
        - Locker.TryWriteLock(ReaderWriterLockSlim, rwlock, int timeout, Action whileWriteLocked)
        - Locker.TryWriteLock(ReaderWriterLockSlim, rwlock, TimeSpan timeout, Action whileWriteLocked)
        - Locker.TryUpgradeableReadLock(ReaderWriterLockSlim, rwlock, int timeout, Action whileUpgradeableReadLocked)
        - Locker.TryUpgradeableReadLock(ReaderWriterLockSlim, rwlock, TimeSpan timeout, Action whileUpgradeableReadLocked)

       Version 1.0.0:
        - Locker.ReadLock(ReaderWriterLockSlim rwlock, Action whileReadLocked)
        - Locker.WriteLock(ReaderWriterLockSlim rwlock, Action whileWriteLocked)
        - Locker.UpgradeableReadLock(ReaderWriterLockSlim rwlock, Action whileUpgradeableReadLocked)