I'm working on assignment where the professor is asking for a solution to solve the dinning philosopher problem using semaphores.
Here is my code so far:
help with synchronization using mapped memmory, semaphores, fork() i want do make synchronization of accesing to mapped memory using semaphores just to demonstrate how semaphores work . point is : when i use fork ill ignore proces with pid == 0 and in PID != 0 i want to do following : this proces taht i will create using fork will ...