AsyncLock
AsyncLock copied to clipboard
An async/await-friendly lock for .NET, complete with asynchronous waits, safe reëntrance, and more.
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...
 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,...
Currently, `async`/`await` continuations and `Task.ContinueWith(...)` continuations are marshalled back to the captured context (`TaskScheduler` or `SynchronizationContext`) as is the default behavior with these tools. I believe there is no reason...