posix_mq
This is a simple, relatively high-level library for the POSIX message queue API. It wraps the lower-level API in a simpler interface with more robust error handling.
Check out this project's sister library in Kotlin.
Usage example:
// Values that need to undergo validation are wrapped in safe types:
let name = new.unwrap;
// Queue creation with system defaults is simple:
let queue = open_or_create.expect;
// Sending a message:
let message = Message ;
queue.send.expect;
// ... and receiving it!
let result = queue.receive.expect;
Development
Development happens in the TVL monorepo.
Starting from version 3771.0.0
, the version numbers correspond to
revisions of the TVL repository, available as git refs (e.g.
refs/r/3771
).
See the TVL documentation for more information about how to contribute to the codebase.