pgsql: Remove volatile qualifiers from shm_mq.c.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Remove volatile qualifiers from shm_mq.c.
Дата
Msg-id E1erYaC-0000oi-GR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove volatile qualifiers from shm_mq.c.

Since commit 0709b7ee, spinlock primitives include a compiler barrier
so it is no longer necessary to access either spinlocks or the memory
they protect through pointer-to-volatile.  Like earlier commits
e93b6298, d53e3d5f, 430008b5, 8f6bb851, df4077cd.

Author: Thomas Munro
Discussion: https://postgr.es/m/CAEepm=204T37SxcHo4=xw5btho9jQ-=ZYYrVdcKyz82XYzMoqg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/07c6e5163e1f4ae12a3a6478788dd969f8f38cc9

Modified Files
--------------
src/backend/storage/ipc/shm_mq.c | 60 ++++++++++++++++++----------------------
1 file changed, 27 insertions(+), 33 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Use ereport not elog for some corrupt-HOT-chain reports.
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Fix msvc builds for ActivePerl > 5.24