[fpc-devel] Apple M1 processor
Jonas Maebe
jonas at freepascal.org
Wed Feb 10 09:00:58 CET 2021
On 2021-02-09 23:30, C Western via fpc-devel wrote:
> I have located a possible fix; however I don't understand why I need
> to make the change I did. The variable reads/writes of concern
> currently use SetEvent in one thread and WaitFor in another - do
> theseĀ not have implicitĀ memory barriers in them? Or is an explicit
> memory barrier required in AArch64? (or it could also be a different
> issue).
Thread synchronisation primitives like SetEvent/WaitFor indeed also
serve as memory barriers, so no extra barriers are required.
Jonas
More information about the fpc-devel
mailing list