Обсуждение: pgsql: Use standard compare_exchange loop style in ProcArrayGroupClearX

Поиск
Список
Период
Сортировка

pgsql: Use standard compare_exchange loop style in ProcArrayGroupClearX

От
Noah Misch
Дата:
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(-)