3 writes to _state
dotnet (3)
Commands\Test\MTP\CtrlCCancellationManager.cs (3)
70
if (Volatile.Read(ref
_state
) == StateForcing)
101
if (Interlocked.CompareExchange(ref
_state
, StateCancelling, StateIdle) == StateIdle)
133
if (Interlocked.CompareExchange(ref
_state
, StateForcing, StateCancelling) == StateCancelling)