6 writes to _state
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (6)
TlsAwaitable.cs (6)
52
public bool IsActive => Volatile.Read(ref
_state
) == Active;
62
if (Volatile.Read(ref
_state
) == Active)
75
if (Interlocked.CompareExchange(ref
_state
, Active, Idle) == Canceled)
89
if (Interlocked.CompareExchange(ref
_state
, Idle, Active) != Active)
104
if (Interlocked.CompareExchange(ref
_state
, Idle, Active) != Active)
126
if (Interlocked.Exchange(ref
_state
, Canceled) == Active)