Re: Removing shm_mq.c's volatile qualifiers - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Removing shm_mq.c's volatile qualifiers
Date
Msg-id 20180302003000.aajac2q64js6gcgv@alap3.anarazel.de
Whole thread Raw
In response to Removing shm_mq.c's volatile qualifiers  (Thomas Munro <thomas.munro@enterprisedb.com>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] Fix warnings and typo in dshash
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] make async slave to wait for lsn to be replayed