Remove volatile from latch API
Peter Eisentraut <peter@eisentraut.org>
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#18783c27d73e9e40009c82f6e0df0974
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/latch.c | modified | +9 −9 |
| src/include/storage/latch.h | modified | +8 −8 |
Discussion
Cited messages not in the archive:
20190218202511.qsfpuj5sy4dbezcw@alap3.anarazel.de#18783c27d73e9e40009c82f6e0df0974