/* Function for checking if scheduler is paused which means that should break processing events.  */
static __INLINE bool is_app_sched_paused(void)
/* Function for checking if scheduler is paused which means that should break processing events.  */
static __INLINE bool is_app_sched_paused(void)
{
    return (m_scheduler_paused_counter > 0);
}