pgsql: Convert SpinLock* macros to static inline functions. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Convert SpinLock* macros to static inline functions.
Date
Msg-id E1vudXz-000sgI-1Y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Convert SpinLock* macros to static inline functions.

This is preparatory work for a proposed follow-up commit that would
add assertions to these functions.

Reviewed-by: Fabrízio de Royes Mello <fabriziomello@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/aZX2oUcKf7IzHnnK%40nathan
Discussion: https://postgr.es/m/20200617183354.pm3biu3zbmo2pktq%40alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bfc321b4723e8ca5fd3adb22a2727ec5c55d3808

Modified Files
--------------
src/include/storage/spin.h | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Fix indentation from commit b380a56a3f9
Next
From: Tom Lane
Date:
Subject: pgsql: Stamp 18.3.