[fpc-pascal] Barriers semantics
denisgolovan at yandex.ru
Mon Aug 14 18:19:24 CEST 2023
Now we have "volatile" intrinsic for assignments in place, I'd like to ask for another clarification.
Documentation states we have following barriers - ReadBarrier, WriteBarrier, ReadDependencyBarrier, ReadWriteBarrier.
I'd like to get an idea how those related to more common / standard terms - Acquire/Release & their combinations?
Is it safe to assume that:
ReadBarrier - Acquire
WriteBarrier - Release
ReadWriteBarrier - Acquire+Release
ReadDependencyBarrier - which one is that?
More information about the fpc-pascal