2 writes to lockFlag
Microsoft.Extensions.Caching.Memory (2)
MemoryCache.cs (2)
488
if (Interlocked.CompareExchange(ref
lockFlag
, 1, 0) == 0)
498
lockFlag
= 0; // Release the lock