摘要
通过对嵌入式操作系统的多线程机制的理论进行研究与分析,提出了一种应用在嵌入式操作系统中的多线程机制实现方案。方案以多线程机制的理论为基础,建立了多线程机制的实现模型,并以Cortex—M3内核为例,深入的分析了这种多线程机制模型的调度实现方案,以及多线程的创建,切换,延时功能函数的实现。嵌入式操作系统的多线程机制的实现以实际应用为基础.以堆栈溢出为例,着重探讨了多线程机制在实现过程当中需要注意的安全因素。
A new implement of multi-threads technology in embedded operating system is introduced in this paper, which is developed from traditional theory of multi-threads technology. A model of this new implement of multi-threads is bulit up and then the schedule hox~ to create create, switch and delay multi-threads are deeply analyzed. All these operation is implemented in Cortex-M3 core. The implement of multi-threads technology in embedded operating system is based on practical applications. And the stack overflow action is taken as an example, to show design security factor while implement multi-threads.
作者
陈雪芳
CHEN Xue-fang (Computer School, Dongguan University of Technology, Dongguan 523808, China)
出处
《电脑知识与技术》
2011年第3期1646-1648,共3页
Computer Knowledge and Technology
基金
东莞市高等院校科研机构重点科技计划项目(200910814002)