时间片是零,指的是
Arguments : en determines whether round-robin will be enabled (when DEF_EN) or not (when DEF_DIS)
*
* dflt_time_quanta default number of ticks between time slices. 0 means assumes OSCfg_TickRate_Hz / 10.
*
* p_err is a pointer to a variable that will contain an error code returned by this function.
*
* OS_ERR_NONE The call was successful
时间片是0,不是说这个任务就没有获取CPU使用权吗?
Arguments : en determines whether round-robin will be enabled (when DEF_EN) or not (when DEF_DIS)
*
* dflt_time_quanta default number of ticks between time slices. 0 means assumes OSCfg_TickRate_Hz / 10.
*
* p_err is a pointer to a variable that will contain an error code returned by this function.
*
* OS_ERR_NONE The call was successful
0 means assumes OSCfg_TickRate_Hz / 10.
指的是 OSCfg_TickRate_Hz / 10. 即100毫秒
一周热门 更多>