pgsql: Remove volatile qualifiers from lwlock.c.
pgsql: Remove volatile qualifiers from lwlock.c.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
Remove volatile qualifiers from lwlock.c. Now that spinlocks (hopefully!) act as compiler barriers, as of commit 0709b7ee72e4bc71ad07b7120acd117265ab51d0, this should be safe. This serves as a demonstration of the new coding style, and may be optimized better on some machines as well. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/df4077cda2eae3eb4a5cf387da0c1e7616e73204 Modified Files -------------- src/backend/storage/lmgr/lwlock.c | 103 ++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 53 deletions(-)