We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,On x86/win architecture there is a function called MemoryBarrier that prevents the CPU from re-ordering read/write operations.Is there something like that on arm architecture ?// x86FORCEINLINE VOIDMemoryBarrier (VOID){ LONG Barrier; __asm { xchg Barrier, eax }}
Older generations of ARM processors (e.g. ARM7TDMI) does not have memory barrier instructions.Newer ARM processors (all Cortex-A, Cortex-R and Cortex-M processors) have memory barrier instructions