Skip to content

This is repo is example of consumer and producer of posix sheard memory in Python and C

Notifications You must be signed in to change notification settings

KfirWilfand/posix-sheard-memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

posix-sheard-memory

This is repo is example of consumer and producer of posix sheard memory in Python and C

Python

Installation

cd python
pip3 install -r requirements.txt

Run

python3 python-consumer.py 

or

python3 python-producer.py 

C

Compile & Run

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

About

This is repo is example of consumer and producer of posix sheard memory in Python and C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published