L4Re Operating System Framework
Interface and Usage Documentation
|
The library provides a non-locking (strictly 1:1) shared-memory-based ring buffer implementation based on the L4SHM library. More...
Modules | |
Internal | |
Receiver | |
Sender | |
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.