It is solving the Dining Philosophers problem.
The program takes 5 to 6 parameters: ./philo/$ ./philo ${No. of philosophers} ${Time they can stay alive before eating} ${Time required to eat} ${Time required to sleep} ${(optional) No. of times each philosopher has to eat to stop simulation}
example: $ ./philo 3 200 100 100 or $ ./philo 2 200 100 100 4