摘要
分析uC/OS-Ⅱ内核的超时等待机制,证实在一定情况下超时时间间隔不准确,在时间间隔到期的情况下,内核仍有可能返回成功,不符合一般的操作系统原理,且超时等待机制在有附加的挂起操作时,处理效率低下。指出uC/OS-Ⅱ内核的超时等待机制不完善的原因,对不足之处提出改进方法。
This paper analyzes the waiting-timeout mechanism of μC/OS-Ⅱ kernel from source code. It indicates waiting-timeout of μC/OS-Ⅱ is not correst in some cases. The kernel can return success while it is time out. System efficiency is low if kernel waiting-timeout mechanism has additional suspension operation. The reason why waiting-timeout mechanism of μC/OS-Ⅱ kernel is not perfect is analyzed. A method is advanced to resolve these problems.
出处
《计算机工程》
CAS
CSCD
北大核心
2009年第7期259-260,266,共3页
Computer Engineering
关键词
超时等待
资源
挂起
内核
waiting-timeout
resource
suspend
kernel