Remove volatile qualifiers from shm_mq.c.
authorAndres Freund <andres@anarazel.de>
Fri, 2 Mar 2018 00:21:52 +0000 (16:21 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 2 Mar 2018 00:21:52 +0000 (16:21 -0800)
commit07c6e5163e1f4ae12a3a6478788dd969f8f38cc9
tree450c1ae64837852efd695087bdbaea3231f40d2f
parent8ecdc2ffe3da3a84d01e51c784ec3510157c893b
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
e93b6298d53e3d5f430008b58f6bb851df4077cd.

Author: Thomas Munro
Discussion: https://postgr.es/m/CAEepm=204T37SxcHo4=xw5btho9jQ-=ZYYrVdcKyz82XYzMoqg@mail.gmail.com
src/backend/storage/ipc/shm_mq.c