实时操作系统中任务间通信的一种方法 |
| |
引用本文: | 郭鹏,罗浩,廖明宏.实时操作系统中任务间通信的一种方法[J].哈尔滨商业大学学报(自然科学版),2003,19(5):561-564. |
| |
作者姓名: | 郭鹏 罗浩 廖明宏 |
| |
作者单位: | 哈尔滨工业大学 计算机学院,黑龙江,哈尔滨,150001 |
| |
基金项目: | 该课题得到哈尔滨工业大学跨学科交叉性研究基金资助,课题代号:HITMD.2001.01. |
| |
摘 要: | 在实时操作系统中任务间通信是影响系统性能的1个关键因素.当前多数的实时内核中所提供的邮箱机制在一对多的任务间通信中效率不高,实时性不强.针对实时内核这个缺点引入固定消息邮箱机制的通信方法.这种方法的优点是:占用内存少,实时性强.将固定消息邮箱机制与传统的邮箱机制配合使用可以极大的提高任务间通信的效率.
|
关 键 词: | 嵌入式 任务间通信 邮箱机制 固定消息 |
文章编号: | 1672-0946(2003)05-0561-04 |
修稿时间: | 2003年4月6日 |
Study on a method for Inter task communication in RTOS |
| |
Abstract: | It has been proved that the performance of the inter task communication is one of the bottlenecks in RTOS. The traditional mechanism for exchange of information between tasks is message-passing using mailboxes. But it performs not well in the environment of one task communicate with multiple tasks. Presented State Message Mailbox, a new method of inter task communication. There are 2 advantages in the new method, firstly, less memory consumption; secondly, better performance on real-time. If the State Message Mailbox cooperates with the traditional mailbox, the inter task communication will work more efficient. |
| |
Keywords: | embedded inter task communication mailbox state message |
本文献已被 CNKI 维普 万方数据 等数据库收录! |