1 write to _readLock
Microsoft.AspNetCore.WebSockets.Tests (1)
BufferStream.cs (1)
26
_readLock
= new SemaphoreSlim(1, 1);
4 references to _readLock
Microsoft.AspNetCore.WebSockets.Tests (4)
BufferStream.cs (4)
110
_readLock
.Wait();
148
_readLock
.Release();
174
await
_readLock
.WaitAsync(cancellationToken);
213
_readLock
.Release();