Skip to the content.

cpp-pubsub

cpp-pubsub is a fast, header-only C++ library for thread-safe Publish/Subscribe messaging. It is designed to be lightweight and simple to integrate into any modern C++17 codebase.

Key Features

Documentation Pages

Welcome to the cpp-pubsub documentation! Please follow the guide below to learn how to integrate and use the library:

  1. Getting Started Learn how to integrate cpp-pubsub into your project via CMake or direct inclusion.

  2. Basic Usage Learn the core concepts of publishing, subscribing, and customizing queue overflow policies.

  3. Advanced Usage Discover how to multiplex multiple topics efficiently using the Worker and Selector classes.

  4. Architecture & Examples Understand the OS-level primitives powering the library, how to build the included examples, and how to run unit tests.


Start Reading: Getting Started >