Provides easy-to-use mutexes, reader-writer locks, and semaphores that can synchronize across processes and machines. This is an umbrella package that brings in the entire family of DistributedLock.* packages (e. g. DistributedLock.SqlServer) as references. Those packages can also be installed...
More information
Use C#/VB await keyword with AutoResetEvent, ManualResetEvent, or Semaphore in .NET apps
See examples in README on GitHub:
https://github.com/tyrotoxin/AsyncWaitHandle
An asynchronous .NET Standard 2.0 library that allows you to lock based on a key (keyed semaphores), only allowing a defined number of concurrent threads that share the same key.
This nuget package contains extensions and types that we often use in our projects and streams. We would like to reuse these things more consistently and make them available to other people.
DynaLock is a library to create and manage locks dynamically in run-time in concurrent software, DynaLock hides all concurrency complexities in distributed systems.
Please visit DynaLock's github page for more information.
https://github.com/saeedmaghdam/DynaLock
A .NET Standard 2.0 library that provides a class that uses SemaphoreSlim but allows a negative initialCount. This could be used, for example, when starting to throttle requests but initially already have more concurrent requests than the maximum you want to start allowing.
FileSemaphore class allow us to pause program execution and wait for a file appear in a given folder with a given name and eventually with a given content.