AsyncLock icon indicating copy to clipboard operation
AsyncLock copied to clipboard

An async/await-friendly lock for .NET, complete with asynchronous waits, safe reëntrance, and more.

Results 4 AsyncLock issues
Sort by recently updated
recently updated
newest added

This code deadlocks: https://dotnetfiddle.net/CkK674 Actually that test has been a challenge for every single async lock I currently know of, so I made my own async lock [that passes](https://dotnetfiddle.net/OFlTW0). I'm...

![image](https://user-images.githubusercontent.com/13326808/193838531-d0f77061-3d49-4e5b-a512-a7603ee9282c.png) Yes, of course, i known what can i do `using(await lock.AsyncLock())`, but this is not entirely intuitive given the official syntax for IAsyncDisposable If you don't mind, i can...

I have taken the sample from the "AsyncLock usage example" section of the documentation and added a for loop around the inner reentrant call and observed a deadlock occur This...

Hi, I'm assuming the lack of `ConfigureAwait(false)` in https://github.com/neosmart/AsyncLock/blob/master/AsyncLock/AsyncLock.cs means that you intend the default, `ConfigureAwait(true)`? I just wanted to double check if that is the case, and if so,...