最近学习MDK 自带的RTOS,有个疑惑:
Forced Interrupts to force a timer interrupt when isr_ functions are used. If an isr_ function is called, the kernel forces the timer interrupt immediately after the interrupt ends. The forced timer interrupt activates the task scheduler. It is possible that a task has become ready. If this task has a higher priority than the currently running task, a task switch must occur.
这段话是说 在中断中调用了isr_ 开头的函数后,退出这个中断后会强制一个定时中断?
这个强制的定时中断是tick中断吗? 然后进行任务切换?
我想不通的是:如果强制tick中断了,那不是时间片不准了?用户定时器时间也不准了?
刚开始看资料,望高手提点一下。 |