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