]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add unlikely() to CHECK_FOR_INTERRUPTS()
authorJoe Conway <mail@joeconway.com>
Fri, 5 Jun 2020 20:49:28 +0000 (16:49 -0400)
committerJoe Conway <mail@joeconway.com>
Fri, 5 Jun 2020 20:49:28 +0000 (16:49 -0400)
commit8401ad52350e8a5f0bb71942f2ac7636969bf8f3
treea8cf3aae82ce57ba6ecad8d20204f5eab340f7f4
parent022cd0bfd33968f2b004106cfeaa3b2951e7f322
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