gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] gpsd and shared memory


From: Gary E. Miller
Subject: Re: [gpsd-users] gpsd and shared memory
Date: Mon, 5 Oct 2015 23:56:46 -0700

Yo Roger!

On Tue, 6 Oct 2015 05:50:36 +0000
Roger Oberholtzer <address@hidden> wrote:

> Hmm.. Learned something new today.

Good.  It is a difficult subject.

> So, to reiterate a few of my questions:
> 
> 1. If the shared memory segment changes during the read, does the
> read return that there was nothing to read?

The SHMMEM RAM is always there.  So there is always something to read.

When the bookends change there is new data.
 
> 2. If the data is the same as before, does the read return it again?

The CPU can always read the SHMMEM RAM, so you alays have something to
read.

> How did I score?

The proof will be in your code.

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

Attachment: pgpYEdoC28wk7.pgp
Description: OpenPGP digital signature


reply via email to

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