/* This function will notify kernel there is one tick passed. Normally, this function is invoked by clock ISR.  */
void rt_tick_increase(void)
/* This function will notify kernel there is one tick passed. Normally, this function is invoked by clock ISR.  */
void rt_tick_increase(void)
{
    struct rt_thread *thread;
    ++ rt_tick;
    thread = rt_thread_self();
    -- thread->remaining_tick;
    if (thread->remaining_tick == 0)
    {
        thread->remaining_tick = thread->init_tick;
        rt_thread_yield();
    }
    rt_timer_check();
}