pgsql: Remove volatile from latch API

Started by Peter Eisentrautover 7 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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: /messages/by-id/20190218202511.qsfpuj5sy4dbezcw@alap3.anarazel.de

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(-)