Remove volatile qualifiers from dynahash.c, shmem.c, and sinvaladt.c
Robert Haas <rhaas@postgresql.org>
Remove volatile qualifiers from dynahash.c, shmem.c, and sinvaladt.c Prior to commit 0709b7ee72e4bc71ad07b7120acd117265ab51d0, access to variables within a spinlock-protected critical section had to be done through a volatile pointer, but that should no longer be necessary. Thomas Munro
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/shmem.c | modified | +4 −7 |
| src/backend/storage/ipc/sinvaladt.c | modified | +6 −16 |
| src/backend/utils/hash/dynahash.c | modified | +27 −32 |