Task_tick: This function is mostly called from time tick functions; it might lead to process switch.
task_tick:该函数通常调用自time tick函数;它可能引起进程切换。
In most RTOS, the timer interrupt service routine (ISR) executes at every time tick.
在一般的嵌入式实时操作系统中,时钟中断服务程序在每个时钟节拍工作。
In most practical application, context switch doesn't happen at some time tick, so sometime the execution of timer ISR is useless and wastes CPU time.
在实际应用中,并不是每个时钟节拍都有任务调度,所以有很多时钟中断服务程序的工作是多余的,浪费了CPU资源。
In most practical application, context switch doesn't happen at some time tick, so sometime the execution of timer ISR is useless and wastes CPU time.
在实际应用中,并不是每个时钟节拍都有任务调度,所以有很多时钟中断服务程序的工作是多余的,浪费了CPU资源。
应用推荐