首页> 外文会议> >Efficient Adaptations of the Non-Blocking Buffer for Event Message Communication between Real-Time Threads
【24h】

Efficient Adaptations of the Non-Blocking Buffer for Event Message Communication between Real-Time Threads

机译:实时线程之间事件消息通信的非阻塞缓冲区的高效适配

获取原文

摘要

Enabling message communication among concurrent computing threads without relying on mutual exclusion (i.e., locking) is highly desirable in real-time computing systems. This paper presents a refined version of the Non-Blocking Buffer (NBB), which is a lock-free interaction mechanism that enables efficient event-message communication between a single producer thread and a single consumer thread. The NBB scheme presented here contains improvements over the previous version in two aspects. First, application designers now have the flexibility of choosing the consumer''s retry strategy for the case when the buffer is empty but the producer is in the middle of inserting an item. Second, in the refined version the producer inserts pointers to data items into the buffer whereas the consumer obtains copies of the items. This design is consistent with the fact that shared heap management must be avoided to enable fully lock-free interaction between the producer and the consumer. This paper also discusses the approaches based on the NBB mechanism for supporting all conceivable producer-consumer scenarios.
机译:在实时计算系统中非常希望能够在不依赖于相互排除(即,锁定)之间的并发计算线程之间的消息通信。本文介绍了非阻塞缓冲区(NBB)的精细版本,它是一种无锁的交互机制,可实现单个生产者线程和单个消费线程之间的有效事件消息通信。此处提供的NBB方案包含两个方面上以前版本的改进。首先,应用程序设计人员现在具有选择消费者的重试策略的灵活性,因为缓冲区为空,但制作人处于插入项目的中间。其次,在精细版本中,生产者将指针插入到数据项中的缓冲区,而消费者获取项目的副本。这种设计与必须避免共享堆管理,以便在生产者和消费者之间进行完全锁定的互动。本文还讨论了基于NBB机制的方法,用于支持所有可想到的生产者消费者情景。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号