pgsql: Remove volatile from latch API

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Remove volatile from latch API
Дата
Msg-id E1h0kv7-0003Zd-0F@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix error handling of readdir() port implementation on firstfil
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Test partition functions with legacy inheritance children, too