项目作者: mohsin-code
项目描述 :
Dining Philosophers Problem using Monitors
高级语言: C
项目地址: git://github.com/mohsin-code/Operating-Systems.git
Operating-Systems
gcc DiningPhilosiphers.c Monitor.c -o Solved -lpthread -lrt
./Solved
References
Operating System Concepts Book
- Section 5.7.3 The Dining-Philosophers Problem
- Section 5.8 Monitors
- Section 5.8.1 Monitor Usage
- Section 5.8.2 Dining-Philosophers Solution Using Monitors
- Section 5.8.3 Implementing a Monitor Using Semaphores
- Section 5.9.4 Pthreads Synchronization
- Project 2 —The Dining Philosophers Problem