We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 044c99b commit 87fb04aCopy full SHA for 87fb04a
src/include/miscadmin.h
@@ -98,16 +98,16 @@ extern void ProcessInterrupts(void);
98
99
#define CHECK_FOR_INTERRUPTS() \
100
do { \
101
- if (InterruptPending) \
+ if (unlikely(InterruptPending)) \
102
ProcessInterrupts(); \
103
} while(0)
104
#else /* WIN32 */
105
106
107
108
- if (UNBLOCKED_SIGNAL_QUEUE()) \
+ if (unlikely(UNBLOCKED_SIGNAL_QUEUE())) \
109
pgwin32_dispatch_queued_signals(); \
110
111
112
113
#endif /* WIN32 */
0 commit comments