pgsql: Remove volatile qualifiers from lwlock.c.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Remove volatile qualifiers from lwlock.c.
Дата
Msg-id E1XWAcw-0001WQ-9n@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix compiler warning.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Remove most volatile qualifiers from xlog.c