A buffer provides a method to communicate between two threads. There are different types of buffers, having effect on blocking the read and the write thread.

Continue reading


A clone factory may be used to create objects (e.g. message objects) of a certain type depending on an ID. A list of clones is stored inside the factory.

Continue reading

Object-oriented semaphores are not part of the C++ standard at this point. However, it is possible to implement a semaphore class using a mutex and a condition variable both of which where added to the standard in C++11.

Continue reading

Author's picture

Reactive Systems

Code Samples in C++ for reactive and embedded systems

Prof. Dr. Stephan faust

HAW Hamburg, Department Computer Science