[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.
- New SHM,
Hal Murray <=
- Re: New SHM, Gary E. Miller, 2023/01/20
- Re: New SHM, Miroslav Lichvar, 2023/01/23
- Re: New SHM, Gary E. Miller, 2023/01/23
- Re: New SHM, Hal Murray, 2023/01/23
- Re: New SHM, Gary E. Miller, 2023/01/23
- Re: New SHM, Hal Murray, 2023/01/23
- Re: New SHM, Gary E. Miller, 2023/01/23
- Re: New SHM, Hal Murray, 2023/01/23