Add unlikely() to CHECK_FOR_INTERRUPTS()
authorJoe Conway
Fri, 5 Jun 2020 20:49:32 +0000 (16:49 -0400)
committerJoe Conway
Fri, 5 Jun 2020 20:49:32 +0000 (16:49 -0400)
commit3cbf4be3e0eb36ce9e433c5bb1f0517f69a3fecc
tree0a48d01dc29032af6de089b85bbeff029de53d48
parent6490376e56b09befe3d4e6792beb1d2328b61b44
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
src/include/miscadmin.h