| From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
|---|---|
| To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Removing shm_mq.c's volatile qualifiers |
| Date: | 2018-02-11 23:52:32 |
| Message-ID: | CAEepm=204T37SxcHo4=xw5btho9jQ-=ZYYrVdcKyz82XYzMoqg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| 0001-Remove-volatile-qualifiers-from-shm_mq.c.patch | application/octet-stream | 6.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sand Stone | 2018-02-12 01:14:38 | Fwd: persistent read cache |
| Previous Message | Thomas Munro | 2018-02-11 23:42:08 | Re: [HACKERS] A misconception about the meaning of 'volatile' in GetNewTransactionId? |