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

From Thomas Munro
Subject Removing shm_mq.c's volatile qualifiers
Date
Msg-id CAEepm=204T37SxcHo4=xw5btho9jQ-=ZYYrVdcKyz82XYzMoqg@mail.gmail.com
Whole thread Raw
Responses Re: Removing shm_mq.c's volatile qualifiers  (Robert Haas <robertmhaas@gmail.com>)
Re: Removing shm_mq.c's volatile qualifiers  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,

As far as I can see, all the volatile qualifiers in shm_mq.c have been
redundant since ec9037df263.  Here's a patch to remove them (like
several similar patches -- see commit message).  Does this make sense?
 Is there something special about that pointer to volatile pointer to
PGPROC?  If so I don't see it.

-- 
Thomas Munro
http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] A misconception about the meaning of 'volatile' in GetNewTransactionId?
Next
From: Thomas Munro
Date:
Subject: OCD questions about LWTRANCHE_REPLICATION_ORIGIN