8 references to Active
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (8)
TlsAwaitable.cs (8)
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
)