gpsd-dev
[Top][All Lists]
Advanced

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

New SHM


From: Hal Murray
Subject: New SHM
Date: Fri, 20 Jan 2023 12:20:09 -0800

Your current code has 2 1/2 memory barriers.  That's the same as my 2 counter 
proposal.

As long as we are mucking in this area, should we take the opportunity and do 
a big jump and convert to a new way of doing things?
  Support old and new SHM until we can drop old.
  Use 2 counters, read only for readers.
  Include a version #
  Avoid time_t in the layout.  Use uint64_t for seconds.
  What else?


-- 
These are my opinions.  I hate spam.






reply via email to

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