Skip to content

syqrefind/ICS-HW3-P4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dining Philosophers Problem

Sol1: Implementation of Monitor in C.

Sol2: Simulation of the functionality of Monitor using POSIX Mutex and Condition Variable

by SYQ

To compile and run,

# For Solution 1
$ make
$ ./dpmake

# For Solution 2
$ gcc NOT_USING_MONITOR.c -o p2.o
$ ./p2.o

About

Solution to Dining Philosophers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published