DocumentCode
2615938
Title
Efficient Adaptations of the Non-Blocking Buffer for Event Message Communication between Real-Time Threads
Author
Kim, K.H. ; Colmenares, Juan A. ; Rim, Kee-Wook
Author_Institution
Dept. of Electr. Eng. & Comput. Sci., California Univ., Irvine, CA
fYear
2007
fDate
7-9 May 2007
Firstpage
29
Lastpage
40
Abstract
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.
Keywords
buffer storage; concurrency control; message passing; multi-threading; real-time systems; concurrent computing threads; concurrent programming; event message communication; heap management; lock-free interaction mechanism; nonblocking buffer; real-time computing systems; real-time threads; single consumer thread; single producer thread; Concurrent computing; Design engineering; Distributed computing; Middleware; Operating systems; Programming profession; Real time systems; Refining; Timing; Yarn; concurrent programming; event message communication; non-blocking algorithms; producer-consumer; real-time computing systems.;
fLanguage
English
Publisher
ieee
Conference_Titel
Object and Component-Oriented Real-Time Distributed Computing, 2007. ISORC '07. 10th IEEE International Symposium on
Conference_Location
Santorini Island
Print_ISBN
0-7695-2765-5
Type
conf
DOI
10.1109/ISORC.2007.31
Filename
4208823
Link To Document