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>
40
await
_dictionaryLock
.WaitAsync(token);
47
_dictionaryLock
.Release();
80
_dictionaryLock
.Wait(CancellationToken.None);
87
_dictionaryLock
.Release();
141
await
_dictionaryLock
.WaitAsync();
148
_dictionaryLock
.Release();
161
_dictionaryLock
.Wait();
168
_dictionaryLock
.Release();
220
_dictionaryLock
.Dispose();