4 writes to _eventQueueEnqueuePendingCount
Microsoft.CodeAnalysis (4)
Compilation\Compilation.cs (4)
1784
Interlocked.Increment(ref
_eventQueueEnqueuePendingCount
);
1789
Interlocked.Decrement(ref
_eventQueueEnqueuePendingCount
);
1796
if (Volatile.Read(ref
_eventQueueEnqueuePendingCount
) != 0)
1798
SpinWait.SpinUntil(() => Volatile.Read(ref
_eventQueueEnqueuePendingCount
) == 0);