Analysis of Event Response Mechanism of Real-Time Operating System
In order to clearly understand the working principle and mechanism of events,to analyze the role,response principle,and response process of events in real-time operating systems,based on the KL36 microcontroller,a PC-like printf output method is adopted to analyze the event response mechanism of mbedOS from the aspects of scheduling process timing,response time performance,etc.The experimental results show that the printf function can intuitively output information such as thread address,queue address,queue content,thread in and out queue status,and event bits during the event response process.This provides convenience for readers to understand the event response principle and process of mbedOS from the bottom layer,and also provides a method reference for analyzing the context structure of other synchronization and communication methods of mbedOS.
real time operating systemevent response mechanismprintf outputmbedOS real-time operating systemKL36 chip