[ntp:hackers] [Gpsd-dev] ntpd shm changes

Håkan Johansson f96hajo at chalmers.se
Mon Mar 21 11:39:51 UTC 2011


On Mon, 21 Mar 2011, Gary E. Miller wrote:

> On Sun, 20 Mar 2011, Håkan Johansson wrote:
>
>> For barriers, see smp_wmb() and smp_rmb() in linux.  Short inline assembler
>> per architecture.  include/asm-xxx/system.h
>
> All the world is not Linux.  Is there a POSIX way?

Ohh, sorry about that.  I more meant it as a place to see how the barriers 
look, than to directly include.  I do not know of a standard way for doing 
just memory barriers, but would be interested for other purposes.

Cheers,
Håkan


More information about the hackers mailing list