首页|基于互斥量的MbedOS调度机制剖析

基于互斥量的MbedOS调度机制剖析

扫码查看
为了能清晰理解互斥量对共享资源的独占访问原理与机制,在简要分析实时操作系统的互斥量的含义、应用场合、调度机制以及关键要素作用的基础上,对mbedOS互斥量调度机制进行了理论剖析.以KL36芯片为例对mbedOS的互斥量进行了实践,基于时序图采用printf方法直观地输出了线程响应互斥量的调度过程信息,并对互斥量调度机制的实时性能进行分析.通过对互斥量调度机制的剖析,有助于进一步分析mbedOS的其他同步与通信方式,也可为深入理解其他实时操作系统的同步与通信手段提供参考借鉴.
Analysis of Mbedos Scheduling Mechanism Based on Mutual Exclusion
In order to have a clear understanding of the exclusive access principle and mechanism of mutex on shared resources,based on the brief analysis of the meaning,application occasions,scheduling mechanism and key elements of mutex in real-time operating systems,the mbedOS mutex scheduling mechanism are theoretically analyzed.Takes the KL36 chip as an example the mbedOS mutex is realized and the scheduling process information of thread response mutex is output spontaneously based on the sequence diagram and printf method.And the real-time performance of mutex scheduling mechanism is analyzed.The analysis of mutex scheduling mechanism is helpful to further analyze other synchronization and communication methods of mbedOS,and can also provide reference for in-depth understanding of other real-time operating system synchronization and communication methods.

real time operating system(RTOS)mutexmbedOS real-time operating systemKL36chipprintf

刘长勇、王宜怀

展开 >

武夷学院 数学与计算机学院,福建武夷山 354300

武夷学院 认知计算与智能信息处理福建省高校重点实验室,福建武夷山 354300

苏州大学计算机科学与技术学院,江苏苏州 215006

实时操作系统 互斥量 mbedOS实时操作系统 KL36芯片 printf输出

国家自然科学基金福建省自然科学基金福建省自然科学科技基金

616723692017J01651-012022J011202

2024

吉林大学学报(信息科学版)
吉林大学

吉林大学学报(信息科学版)

CSTPCD
影响因子:0.607
ISSN:1671-5896
年,卷(期):2024.42(2)
  • 24