各位大侠,
在sysbios中,除了用sleep来切换当前进程的任务,还可以用其他什么函数么?因为感觉在实时操作系统中
用sleep有可能会有延时成分.影响实时性
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
各位大侠,
在sysbios中,除了用sleep来切换当前进程的任务,还可以用其他什么函数么?因为感觉在实时操作系统中
用sleep有可能会有延时成分.影响实时性
你好,
Task_sleep以system tick为时长单位做延时,所以时间会长一些。不知你的用法是怎样的,如果有可能,可以尝试一下使用Semaphore_pend来切换,效率会好些。
BR
Robert