Introduction - If you have any usage issues, please Google them yourself
Java program will spawn n (distributed) processes Pi, 0 ≤ i < n, each one looping forever.
Each loop iteration is a loop interval. In every loop interval Pi does the following:
− It sleeps for a random amount of time [3, 4) seconds
− It requests entry into its critical section
− It enters its critical section where it stays for a random amount of time [1, 2) seconds
− It exits its critical section
During its execution a process logs all its actions, i.e.,
− Entering and exiting sleep state
− Actions it takes to decide entry into its critical