https://learn.microsoft.com/en-us/dotnet/api/system.threading.volatile.readbarrier?view=net-10.0&viewFallbackFrom=net-9.0
Volatile.ReadBarrier Method (System.Threading) | Microsoft Learn
Synchronizes memory access as follows: The processor that executes the current thread cannot reorder instructions in such a way that memory reads before the...
volatilemethodsystemthreadingmicrosoft