pgsql: Use standard compare_exchange loop style in ProcArrayGroupClearX - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Use standard compare_exchange loop style in ProcArrayGroupClearX
Date
Msg-id E1iLfOg-0005hN-9W@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Use standard compare_exchange loop style in ProcArrayGroupClearXid().

Besides style, this might improve performance in the contended case.

Reviewed by Amit Kapila.

Discussion: https://postgr.es/m/20191015035348.GA4166224@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/48cc59ed24f95fa171b12ba1b461e6dc72d62b2b

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Remove last traces of heap_open/close in the tree
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix most -Wundef warnings