Remove volatile qualifiers from shm_mq.c.

Andres Freund <andres@anarazel.de>

Commit: 07c6e5163e1f4ae12a3a6478788dd969f8f38cc9
Author: Andres Freund <andres@anarazel.de>
Date: 2018-03-02T00:21:52Z
Releases: 11.0
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

Files

PathChange+/−
src/backend/storage/ipc/shm_mq.c modified +27 −33

Discussion