Tasks can be found here: https://goo.gl/3XnGJw (RUS). All labs work correct and were passed through ifmo.distributedclass.bot@gmail.com
make- compile & linkmake clean- remove object, log & executable files
Program creates communication system using pipes. Child processes notify about START & DONE events via sending messages.
./pa1 -p X, where X - count of child processes.
Using PA1 we can immitate banking system by adding useful work to child processes.
./pa2 -p X y1 ... yX, where X - count of child processes, yN - process start balance.
Same as PA2. Instead of Physical time here is used Lamport time.
Working with critical area as child process useful work.
./pa1 -p X [--mutexl], where X - count of child processes, --mutexl - tells program to use Lamport mutex algorithm in critical area