gpsd-dev
[Top][All Lists]
Advanced

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

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


From: Gary E. Miller
Subject: Re: [gpsd-dev] Updated docs on NTP segment management
Date: Thu, 19 Feb 2015 14:33:10 -0800

Yo Eric!

On Wed, 18 Feb 2015 23:25:42 -0500
"Eric S. Raymond" <address@hidden> wrote:

> 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.

How would you handle the one-to-many thing with MQ's?

I'm thinking something slightly simpler like POSIX named shared memory
segments quarded by POSIX mutexes.  Is there any OS that does not
support that?

Another nice thing about the mutexes is they guarantee the barrier for
you.  I'm not sure yet how to handle when a client hangs the mutex.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588



reply via email to

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