This example provides a single producer single consumer shared circular buffer.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
gcc, make
Please use following commands to compile master and slave tests
mkdir -p build
cd build
cmake ../
cmake --build .
First create the required mmap file handlers using following command
echo "sample text" > SharedMem
echo "sample text" > SharedMemStat
Execute master
./build/bin/apps/master_app SharedMemStat SharedMem
Afterwards start the slave using
./build/bin/apps/slave_app SharedMemStat SharedMem