[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Updated docs on NTP segment management

From: Eric S. Raymond
Subject: Re: [gpsd-dev] Updated docs on NTP segment management
Date: Wed, 18 Feb 2015 23:25:42 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

Harlan Stenn <address@hidden>:
> has some info about
> clang and memory barrier intrinsics, but they seem to be for ARM only.
> I'd hope that somebody has written a library of these things for
> different compilers (including AIX, Solaris, and some other platforms).
> I haven't looked in to this stuff much though.
> I'm game to have a libntpshm/ tear-off (unless there's a better name for
> it) that we could use for all of this, that would be shared between at
> least NTP and GPSD.  I know some other folks use this code as well, but
> they are not real loud about it.

If read/write access is a concern it's probaby time to look beyond
shared segments with roll-your-own locking to something like POSIX
message queues.

I could design and implement a facility like that, given a reasonably
well-thought-out set of requirements.  It's the kind of thing I'm good
                <a href="";>Eric S. Raymond</a>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]