L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
L4SHM-based ring buffer implementation

The library provides a non-locking (strictly 1:1) shared-memory-based ring buffer implementation based on the L4SHM library. More...

+ Collaboration diagram for L4SHM-based ring buffer implementation:

Modules

 Internal
 
 Receiver
 
 Sender
 

Detailed Description

The library provides a non-locking (strictly 1:1) shared-memory-based ring buffer implementation based on the L4SHM library.

It requires an already allocated L4SHM area to be attached to sender and receiver. It will allocate an SHM chunk within this area and provides functions to produce data and consume data in FIFO order from the ring buffer.

The sender side of the buffer needs to be initialized before the receiver side, because allocation of the SHM chunk and the necessary signals is done on the sender side and the receiver initialization tries to attach to these objects.