Skip to content

2nd semester task: Using a shared memory a sender communicating with a receiver by means of broadcast messages shall be simulated.

Notifications You must be signed in to change notification settings

stevo9061/sharedMemoryRingbuffer

Repository files navigation

1. Please, at first run 'make' in the directory.

2. Execute the program 'read' first, afterwards start 'write'. 
   With the argument '-m[SIZE]' the size of the ring buffer can be selected.

Example:

./read -m2 < Philosophen.txt &
./write -m2 > out.txt



The usage of the script is as follows:

1. ./sender_test.sh
2. ./receiver_test.sh

Subsequently, a test file (receiver_test_output.txt) is generated.

About

2nd semester task: Using a shared memory a sender communicating with a receiver by means of broadcast messages shall be simulated.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published