Locker 1.2.0
dotnet add package Locker --version 1.2.0
NuGet\Install-Package Locker -Version 1.2.0
<PackageReference Include="Locker" Version="1.2.0" />
paket add Locker --version 1.2.0
#r "nuget: Locker, 1.2.0"
// 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
Binaries for the Locker library.
Visit https://github.com/tejacques/Locker for an overview and usage examples.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
Notes:
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)