Skip to main content

Middleware

This module summarizes the middleware components in LibXR used for system services, communication management, and terminal interaction.

Features

  • Unified Abstraction: Provides core middleware functions such as event handling, logging, topic publishing, and virtual terminals.
  • Multiple Operation Models: Supports synchronous, asynchronous, queued, and callback-based modes for different scenarios.
  • High Performance: Heavily utilizes lock-free lists and queues internally to ensure concurrent performance.
  • Embedded Adaptation: Supports flash minimum write unit constraints and key-value storage on memory-constrained devices.

Contents

Notes:

  • In current mainline, the message subsystem is no longer best understood as one catch-all page; the contracts and tradeoffs of Topic, Packet/Server, and LinuxSharedTopic are split into their own pages and should be read there.
  • Current RamFS public docs are based on the Custom node model, not the older Device node model that appeared in older materials.

For detailed API descriptions, see the individual pages.