3 writes to _receivedNeedsEnable
System.Net.Quic (3)
System\Net\Quic\QuicStream.cs (3)
332
if (totalCopied > 0 && Interlocked.CompareExchange(ref
_receivedNeedsEnable
, 0, 1) == 1)
570
Volatile.Write(ref
_receivedNeedsEnable
, 1);
576
return (_receiveBuffers.HasCapacity() && Interlocked.CompareExchange(ref
_receivedNeedsEnable
, 0, 1) == 1) ? QUIC_STATUS_CONTINUE : QUIC_STATUS_SUCCESS;