Justin Cormack wrote: > Can we have an API for barriers please... Need them for hardware access and > shared memory access... I'm moderately sure you're better served by using the platform APIs for synchronization. There's more to it than just emitting a write barrier. To be truly useful under preemptive multitasking one needs to cooperate with the kernel (e.g. to avoid busy wait). The platform APIs already encapsulate all of the complexity -- no need to reinvent them. --Mike