We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9ba4c commit c5262cfCopy full SHA for c5262cf
src/include/miscadmin.h
@@ -97,16 +97,16 @@ extern void ProcessInterrupts(void);
97
98
#define CHECK_FOR_INTERRUPTS() \
99
do { \
100
- if (InterruptPending) \
+ if (unlikely(InterruptPending)) \
101
ProcessInterrupts(); \
102
} while(0)
103
#else /* WIN32 */
104
105
106
107
- if (UNBLOCKED_SIGNAL_QUEUE()) \
+ if (unlikely(UNBLOCKED_SIGNAL_QUEUE())) \
108
pgwin32_dispatch_queued_signals(); \
109
110
111
112
#endif /* WIN32 */
0 commit comments