]> granicus.if.org Git - postgresql/commit
Use standard compare_exchange loop style in ProcArrayGroupClearXid().
authorNoah Misch <noah@leadboat.com>
Sat, 19 Oct 2019 03:21:10 +0000 (20:21 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 19 Oct 2019 03:21:10 +0000 (20:21 -0700)
commit48cc59ed24f95fa171b12ba1b461e6dc72d62b2b
tree7061b25d3bfe6d765c6cdff019503cb08b75d826
parent30ee5d17c20dbb282a9952b3048d6ad52d56c371
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
src/backend/storage/ipc/procarray.c