index e167ee8fcbec51cb9075bad6d21553bb8d774127..802414553571704756c75777bc3b9c74d8dbda3a 100644 (file)
#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 */