Study and Analysis of the Message Queue Operation Mechanism Based on the Open-Source RT-Thread Architecture

In an RTOS (Real-Time Operating System), if data needs to be transmitted between threads or between threads and interrupts, a message queue should be used as a means of synchronization and communication. This paper primarily introduces the basic knowledge of messages and their application scenarios, commonly used message queue functions, and programming examples of message queues. It also delves into an in-depth analysis of the structures frequently adopted by message queues, message storage functions, message retrieval functions, and the scheduling timing of message queues. Through practical programming exercises, this paper explains how message passing between threads can be achieved using message queues, providing insight into the working principles of message queues in RT-Thread. It offers significant reference value for practical applications.

Authors

Institutions

Publication Details

Published
2025-05-23
DOI
https://doi.org/10.1109/eeiss65394.2025.11085427
Primary Topic
Advanced Algorithms and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Study and Analysis of the Message Queue Operation Mechanism Based on the Open-Source RT-Thread Architecture

Meiqin Suo, C. T. Sun, Qianglong Dai
Advanced Algorithms and Applications
article

Study and Analysis of the Message Queue Operation Mechanism Based on the Open-Source RT-Thread Architecture

Meiqin Suo, C. T. Sun, Qianglong Dai
article en

Abstract

In an RTOS (Real-Time Operating System), if data needs to be transmitted between threads or between threads and interrupts, a message queue should be used as a means of synchronization and communication. This paper primarily introduces the basic knowledge of messages and their application scenarios, commonly used message queue functions, and programming examples of message queues. It also delves into an in-depth analysis of the structures frequently adopted by message queues, message storage functions, message retrieval functions, and the scheduling timing of message queues. Through practical programming exercises, this paper explains how message passing between threads can be achieved using message queues, providing insight into the working principles of message queues in RT-Thread. It offers significant reference value for practical applications.

Suzhou University of Science and Technology (CN), Jiangsu Vocational College of Medicine (CN)
Openalex Percentile: Top 79%
Advanced Algorithms and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.