[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: |
Thu, 26 Feb 2015 06:01:57 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Miroslav Lichvar <address@hidden>:
> > Would it have made sense to use the dummy slots in the current SHM?
> > (assume
> > we could find a way to avoid collisions)
>
> I think it would but how would it signal that the fields are set to
> not use some random garbage the client had on stack? Include a
> checksum?
That's easy. Assuming we have the ntpd project's cooperation, we can
define a mode 2 that uses a leading segment of the dummy fields to pass
additional info. Obvious tricks with unions apply.
Now that I'm familiar with both ends of the SHM driver, I could write
that implementation myself quite easily.
We should think about how we want to use that space carefully, though. It's
scarce real estate.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
- Re: [gpsd-dev] Updated docs on NTP segment management, (continued)
- Re: [gpsd-dev] Updated docs on NTP segment management, Miroslav Lichvar, 2015/02/25
- Re: [gpsd-dev] Updated docs on NTP segment management, Hal Murray, 2015/02/25
- Re: [gpsd-dev] Updated docs on NTP segment management, Gary E. Miller, 2015/02/25
- Re: [gpsd-dev] Updated docs on NTP segment management, Hal Murray, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Gary E. Miller, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Miroslav Lichvar, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management,
Eric S. Raymond <=
- Re: [gpsd-dev] Updated docs on NTP segment management, Miroslav Lichvar, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Eric S. Raymond, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Hal Murray, 2015/02/27
- Re: [gpsd-dev] Updated docs on NTP segment management, Hal Murray, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Eric S. Raymond, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Terje Mathisen, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Gary E. Miller, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Harlan Stenn, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Gary E. Miller, 2015/02/26
- Re: [gpsd-dev] Updated docs on NTP segment management, Harlan Stenn, 2015/02/26