pgsql: Remove volatile qualifiers from dynahash.c, shmem.c, and sinvala

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove volatile qualifiers from dynahash.c, shmem.c, and sinvala
Date: 2015-10-16 18:16:58
Message-ID: E1Zn9Yo-000442-Iv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/430008b5a7ac395ab3057377104148e80718045c

Modified Files
--------------
src/backend/storage/ipc/shmem.c | 11 +++----
src/backend/storage/ipc/sinvaladt.c | 22 ++++---------
src/backend/utils/hash/dynahash.c | 59 ++++++++++++++++-------------------
3 files changed, 37 insertions(+), 55 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2015-10-16 18:21:17 pgsql: Remove volatile qualifiers from proc.c and procarray.c
Previous Message Robert Haas 2015-10-16 18:10:45 pgsql: Remove cautions about using volatile from spin.h.