4 writes to ExecutingCallbackId
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (4)
786registrations.ExecutingCallbackId = node.Id; 833Interlocked.Exchange(ref registrations.ExecutingCallbackId, 0); // for safety, prevent reorderings crossing this point and seeing inconsistent state. 1144while (Volatile.Read(ref ExecutingCallbackId) == id) 1161while (Volatile.Read(ref ExecutingCallbackId) == id)