AsyncKeyedLock Versions Save

An asynchronous .NET Standard 2.0 library that allows you to lock based on a key (keyed semaphores), limiting concurrent threads sharing the same key to a specified number, with optional pooling for reducing memory allocations.

6.4.2

3 weeks ago

Exposing constructor for AsyncKeyedLockTimeoutReleaser.

6.4.1

3 weeks ago

New methods for conditional locking enabled also for StripedAsyncKeyedLocker and AsyncNonKeyedLocker.

6.4.0

3 weeks ago

New methods for conditional locking which can be used in recursive methods as a workaround for reentrancy. If the condition is false, it enters without locking.

6.3.4

3 months ago

Big (~25%) performance improvement when using pooled locking.

6.3.3

4 months ago

Performance improvement on AsyncNonKeyedLocker.

6.3.2

4 months ago

Performance improvement on AsyncNonKeyedLocker.

6.3.0

4 months ago

Added a simple, non-keyed async lock through AsyncNonKeyedLocker.

6.2.6

4 months ago

Cleaning pooling and aggressively inlining locking methods.

6.2.5

4 months ago

Minor optimizations.

6.2.4

5 months ago

Allowed optional ConfigureAwaitOptions on .NET 8.0 or greater.