Use standard compare_exchange loop style in ProcArrayGroupClearXid().
Noah Misch <noah@leadboat.com>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/procarray.c | modified | +1 −1 |
Discussion
- ProcArrayGroupClearXid() compare-exchange style 2 messages · 2019-10-15