Skip to content

Multithreading synchronization exercise based on the Dining Philosophers problem

Notifications You must be signed in to change notification settings

J-JLucas/PThreads-Synchronization-Exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Added input validation to ensure resouces were added to the system, 
as well as that no task has a required resource that does not exist
before starting simulation

seq.c is an adapted version of the simualtion to exectute sequentially with 
only one thread of control, very slow!

(note seq.c based off of an older version with less error checking)

test.c was used to test time structs and timing things

I've also included my test input files, commands to run them 
are all included in the make file

Josh Lucas

About

Multithreading synchronization exercise based on the Dining Philosophers problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published