基于STM32的mbedOS信号量调度机制剖析  被引量:1

ANALYSIS OF MBEDOS SEMAPHORE SCHEDULING MECHANISM BASED ON STM32

在线阅读下载全文

作  者:刘中华 王宜怀[1] 刘长勇 王浩波 Liu Zhonghua;Wang Yihuai;Liu Changyong;Wang Haobo(School of Computer Science and Technology,Soochow University,Suzhou 215006,Jiangsu,China;School of Mathematics and Computer Science,Wuyi University,Wuyishan 354300,Fujian,China)

机构地区:[1]苏州大学计算机科学与技术学院,江苏苏州215006 [2]武夷学院数学与计算机学院,福建武夷山354300

出  处:《计算机应用与软件》2023年第10期268-273,321,共7页Computer Applications and Software

基  金:国家自然科学基金项目(61672369)。

摘  要:目前,嵌入式实时操作系统的调度机制的研究主要集中在Linux、FreeRTOS、VxWorks等操作系统,而对mbedOS中调度机制的研究缺乏相关资料。对此,通过信号量这一同步机制,在简要分析信号量的含义和有关要素的基础上,对mbedOS中的信号量调度机制及其关键函数进行理论分析,继而通过多任务并发的调度实验,进一步验证理论分析的正确性。通过时序图对调度机制进行总结,并对信号量调度机制的实时性能进行剖析,可为不同微控制器上的mbedOS信号量的应用提供基础,也为剖析其他RTOS(Real-Time Operating System)的信号量机制以及深入理解RTOS的工作原理提供了重要的借鉴价值。At present,the researches on the scheduling mechanism of embedded real-time operating systems mainly focus on operating systems such as Linux,FreeRTOS,and VxWorks,while the research on the scheduling mechanism in mbedOS lacks relevant materials.In this regard,through the synchronization mechanism of semaphore,based on a brief analysis of the meaning and related elements of semaphore,the semaphore scheduling mechanism and its key functions in mbedOS were theoretically analyzed.Through multi-task concurrent scheduling experiments,the correctness of the theoretical analysis was further verified.The scheduling mechanism was summarized through the timing diagram,and the real-time performance of the semaphore scheduling mechanism was analyzed,which could provide a basis for the application of mbedOS semaphores on different microcontrollers,and also for the analysis of other RTOS semaphore mechanisms and in-depth understanding.The working principle of RTOS provided important reference value.

关 键 词:mbedOS 信号量 调度机制 SVC 实时性能 

分 类 号:TP3[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象