Commit 48cc59e
committed
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.com1 parent 30ee5d1 commit 48cc59e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
496 | 497 | | |
497 | 498 | | |
498 | | - | |
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| |||
0 commit comments