4 writes to _eventQueueEnqueuePendingCount
Microsoft.CodeAnalysis (4)
Compilation\Compilation.cs (4)
1829
Interlocked.Increment(ref
_eventQueueEnqueuePendingCount
);
1834
Interlocked.Decrement(ref
_eventQueueEnqueuePendingCount
);
1841
if (Volatile.Read(ref
_eventQueueEnqueuePendingCount
) != 0)
1843
SpinWait.SpinUntil(() => Volatile.Read(ref
_eventQueueEnqueuePendingCount
) == 0);