1 write to _dictionaryLock
NuGet.Common (1)
KeyedLock.cs (1)
26_dictionaryLock = new SemaphoreSlim(initialCount: 1);
10 references to _dictionaryLock
NuGet.Common (10)
KeyedLock.cs (10)
17/// <remarks>Both reading and modifying this dictionary must be synchronized though <see cref="_dictionaryLock"/>.</remarks> 40await _dictionaryLock.WaitAsync(token); 47_dictionaryLock.Release(); 80_dictionaryLock.Wait(CancellationToken.None); 87_dictionaryLock.Release(); 141await _dictionaryLock.WaitAsync(); 148_dictionaryLock.Release(); 161_dictionaryLock.Wait(); 168_dictionaryLock.Release(); 220_dictionaryLock.Dispose();