[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] SHM code
From: |
Hal Murray |
Subject: |
Re: [gpsd-dev] SHM code |
Date: |
Sun, 15 Feb 2015 11:19:36 -0800 |
address@hidden said:
> Mainly, as I said, this would be nice for a segment-in-use flag. You want
> this to be in shared space so all refclocks can see it.
> An alternative would be to have a specific 'in_use' field documented for
> this use.
I don't see the use case for a segment-in-use flag. What do you have in mind?
In use by gpsd? In use by ntpd?
Don't forget that things have to work when either side crashes and leaves the
flag set.
Is the use-count from the SHM API good enough?
--
These are my opinions. I hate spam.