节点文献
实时操作系统中任务间通信的一种方法
Study on a method for Inter task communication in RTOS
【摘要】 在实时操作系统中任务间通信是影响系统性能的1个关键因素.当前多数的实时内核中所提供的邮箱机制在一对多的任务间通信中效率不高,实时性不强.针对实时内核这个缺点引入固定消息邮箱机制的通信方法.这种方法的优点是:占用内存少,实时性强.将固定消息邮箱机制与传统的邮箱机制配合使用可以极大的提高任务间通信的效率.
【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.
【Key words】 embedded; inter task communication; mailbox; state message;
- 【文献出处】 哈尔滨商业大学学报(自然科学版) ,Journal of Harbin University of Commerce(Sciences Edition) , 编辑部邮箱 ,2003年05期
- 【分类号】TP316.2
- 【被引频次】7
- 【下载频次】83