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

dc.creatorLee, Jeremy
dc.date2007-09-28
dc.date.accessioned2026-07-07T08:32:52Z
dc.date.available2026-07-07T08:32:52Z
dc.descriptionFIFO 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.
dc.description9 Pages, Preprint
dc.identifierhttps://arxiv.org/abs/0709.4558
dc.identifierhttp://arxiv.org/abs/0709.4558
dc.identifier.urihttp://salesiana.dossiersoluciones.com/handle/123456789/138932
dc.subjectOperating Systems
dc.subjectDistributed, Parallel, and Cluster Computing
dc.subjectE.1
dc.titlePractical Multiwriter Lock-Free Queues for "Hard Real-Time" Systems without CAS
dc.typetext

Files

Collections