摘要
在实时操作系统中任务间通信是影响系统性能的1个关键因素.当前多数的实时内核中所提供的邮箱机制在一对多的任务间通信中效率不高,实时性不强.针对实时内核这个缺点引入固定消息邮箱机制的通信方法.这种方法的优点是:占用内存少,实时性强.将固定消息邮箱机制与传统的邮箱机制配合使用可以极大的提高任务间通信的效率.
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.
出处
《哈尔滨商业大学学报(自然科学版)》
CAS
2003年第5期561-564,共4页
Journal of Harbin University of Commerce:Natural Sciences Edition
基金
该课题得到哈尔滨工业大学跨学科交叉性研究基金资助
课题代号:HITMD.2001.01.