pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove volatile from latch API
Date: Mon, 04 Mar 2019 10:34:05 +0000
Message-ID: <E1h0kv7-0003Zd-0F@gemulon.postgresql.org> (raw)

Remove volatile from latch API

This was no longer useful since the latch functions use memory
barriers already, which are also compiler barriers, and volatile does
not help with cross-process access.

Discussion: https://www.postgresql.org/message-id/flat/20190218202511.qsfpuj5sy4dbezcw%40alap3.anarazel.de#18783...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/278584b526d71a3fe86f91be5870f99f38477e27

Modified Files
--------------
src/backend/storage/ipc/latch.c | 18 +++++++++---------
src/include/storage/latch.h     | 16 ++++++++--------
2 files changed, 17 insertions(+), 17 deletions(-)



Message-ID: <E1h0kv7-0003Zd-0F@gemulon.postgresql.org>
Permalink:  ../E1h0kv7-0003Zd-0F@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h0kv7-0003Zd-0F@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Remove volatile from latch API
  In-Reply-To: <E1h0kv7-0003Zd-0F@gemulon.postgresql.org>
  References: <E1h0kv7-0003Zd-0F@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox