This is repo is example of consumer and producer of posix sheard memory in Python and C
cd python
pip3 install -r requirements.txt
python3 python-consumer.py
or
python3 python-producer.py
cd c
gcc c-producer.c utils.c utils.h -lrt
./a.out
Note: for macOS the linker is redudent, compile without -lrt:
cd c
gcc c-producer.c utils.c utils.h
./a.out