diff options
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index e167ee8fcbe..80241455357 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -97,16 +97,16 @@ extern void ProcessInterrupts(void); #define CHECK_FOR_INTERRUPTS() \ do { \ - if (InterruptPending) \ + if (unlikely(InterruptPending)) \ ProcessInterrupts(); \ } while(0) #else /* WIN32 */ #define CHECK_FOR_INTERRUPTS() \ do { \ - if (UNBLOCKED_SIGNAL_QUEUE()) \ + if (unlikely(UNBLOCKED_SIGNAL_QUEUE())) \ pgwin32_dispatch_queued_signals(); \ - if (InterruptPending) \ + if (unlikely(InterruptPending)) \ ProcessInterrupts(); \ } while(0) #endif /* WIN32 */ |