Name: Jacob Schmidt
How to compile all four programs:
-
$ g++ diningPhil.cpp -o dining -lpthread -std=c++11 $ ./dining
-
$ g++ savages.cpp -o sav -lpthread -std=c++11 $ ./sav
-
$ g++ semaphore_mutex_unisex.cpp -o uni -lpthread -std=c++11 $ ./uni
-
$ g++ plantp.cpp -o plant -lpthread -std=c++11 $ ./plant