Thanks to visit codestin.com Credit goes to github.com
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 022cd0b commit 8401ad5Copy full SHA for 8401ad5
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