Possible Locking Issue when using StringGet(key) in Sync Api - Should Monitor.TryEnter be used than lock & Mointor.Wait which may cause deadlock in case of exceptions · Issue #1196 · StackExchange/StackExchange.Redis ·
Monitor Class in C# with Examples- Dot Net Tutorials
Are lock and Monitor the same in C#?
c# - Locking on a primitive type - Stack Overflow
Api suggestion: Monitor.TryEnter() with CancellationToken · Issue #27520 · dotnet/runtime · GitHub
Monitor Class in C# with Examples- Dot Net Tutorials