Sturk 1.1.0
Publish-subscribe C implementation.
Loading...
Searching...
No Matches
OSAL

Table of Contents

Operating System Abstraction Layer (OSAL) gathers all os-specific operations and provides a common API for all implementations. It consists of five submodules configured with the osal section from the yaml configuration file - see default osal configuration.

Table: OSAL

# API Implementations
1 fstream std
2 mem arena, std
3 mutex none, posix
4 sem none, posix
5 sys std

Configuring OSAL

For a given configuration file

---
osal:
<api>: "<implementation>"

a source file /path/to/sturk/src/osal/<api>/<implementation>.c will be added to the build.