Bernd Porr & Nick Bailey
This document describes how to do rigorously realtime coding in C++ under Linux.
At the heart are callback interfaces which transmit events from C++ class to C++ class.
https://github.com/berndporr/realtime_cpp_coding/blob/main/realtime_embedded_coding.pdf