Re: Removing shm_mq.c's volatile qualifiers

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Removing shm_mq.c's volatile qualifiers
Дата
Msg-id 20180302003000.aajac2q64js6gcgv@alap3.anarazel.de
обсуждение исходный текст
Ответ на Removing shm_mq.c's volatile qualifiers  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
Hi,

On 2018-02-12 12:52:32 +1300, Thomas Munro wrote:
> From e584628bb846be11a137b5216e955284dfd646a5 Mon Sep 17 00:00:00 2001
> From: Thomas Munro <thomas.munro@enterprisedb.com>
> Date: Thu, 8 Feb 2018 18:50:32 +1300
> Subject: [PATCH] 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.

Pushed.


Thanks,

Andres


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] Fix warnings and typo in dshash
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] make async slave to wait for lsn to be replayed