This is a project that uses the concepts of scheduling, synchronization, multi-threading and deadlock prevention in operating systems by using POSIX threads (pthreads) API.
To compile type "make"
To remove the executable files type "make clean"
To run the simulation type "./simulation"
Run with the command line arguments:
-p for probablity
-t for simulaton time
-s for seed
-n for debug start time
Example run: ./simulation -t 120 -n 30