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