嵌入式操作系统的多线程机制研究与实现
一个线程可以包含多个进程作者:陈雪芳
来源:《电脑知识与技术》2011年第07
        摘要:通过对嵌入式操作系统的多线程机制的理论进行研究与分析,提出了一种应用在嵌入式操作系统中的多线程机制实现方案。方案以多线程机制的理论为基础,建立了多线程机制的实现模型,并以Cortex-M3内核为例,深入的分析了这种多线程机制模型的调度实现方案,以及多线程的创建,切换,延时功能函数的实现。嵌入式操作系统的多线程机制的实现以实际应用为基础,以堆栈溢出为例,着重探讨了多线程机制在实现过程当中需要注意的安全因素。
        关键词:嵌入式;操作系统;多线程;进程;Cortex-M3
        中图分类号:TP316文献标识码:A 文章编号:1009-3044(2011)07-1646-03
        Research and Implement of Multi-threads Technology Based on Embedded OS
        CHEN Xue-fang
        (Computer School, Dongguan University of Technology, Dongguan 523808, China)
        Abstract: 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 how 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.

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。