Practical Multiwriter Lock-Free Queues for "Hard Real-Time" Systems without CAS

Computer Science – Operating Systems

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

9 Pages, Preprint

Scientific paper

FIFO queues with a single reader and writer can be insufficient for "hard real-time" systems where interrupt handlers require wait-free guarantees when writing to message queues. We present an algorithm which elegantly and practically solves this problem on small processors that are often found in embedded systems. The algorithm does not require special CPU instructions (such as atomic CAS), and therefore is more robust than many existing methods that suffer the ABA problem associated with swing pointers. The algorithm gives "first-in, almost first-out" guarantees under pathological interrupt conditions, which manifests as arbitrary "shoving" among nearly-simultaneous arrivals at the end of the queue.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Practical Multiwriter Lock-Free Queues for "Hard Real-Time" Systems without CAS does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Practical Multiwriter Lock-Free Queues for "Hard Real-Time" Systems without CAS, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Practical Multiwriter Lock-Free Queues for "Hard Real-Time" Systems without CAS will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-714885

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.