Thread: pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()

pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()

From
Joe Conway
Date:
Add unlikely() to CHECK_FOR_INTERRUPTS()

Add the unlikely() branch hint macro to CHECK_FOR_INTERRUPTS().
Backpatch to REL_10_STABLE where we first started using unlikely().

Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8401ad52350e8a5f0bb71942f2ac7636969bf8f3

Modified Files
--------------
src/include/miscadmin.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)