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