mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-18 11:03:23 +02:00
in favor of having just one set of macros that don't do HOLD/RESUME_INTERRUPTS (hence, these correspond to the old SpinLockAcquire_NoHoldoff case). Given our coding rules for spinlock use, there is no reason to allow CHECK_FOR_INTERRUPTS to be done while holding a spinlock, and also there is no situation where ImmediateInterruptOK will be true while holding a spinlock. Therefore doing HOLD/RESUME_INTERRUPTS while taking/releasing a spinlock is just a waste of cycles. Qingqing Zhou and Tom Lane. |
||
---|---|---|
.. | ||
common | ||
gist | ||
hash | ||
heap | ||
index | ||
nbtree | ||
transam | ||
Makefile |