4 writes to _eventQueueEnqueuePendingCount
Microsoft.CodeAnalysis (4)
Compilation\Compilation.cs (4)
1832
Interlocked.Increment(ref
_eventQueueEnqueuePendingCount
);
1837
Interlocked.Decrement(ref
_eventQueueEnqueuePendingCount
);
1844
if (Volatile.Read(ref
_eventQueueEnqueuePendingCount
) != 0)
1846
SpinWait.SpinUntil(() => Volatile.Read(ref
_eventQueueEnqueuePendingCount
) == 0);