Lecture 16


Here is the source code for the multithreaded program. comp0.cpp goes with main0.cpp. comp1.cpp goes with main1.cpp and with main2_a.cpp (that is the last version we saw). main2.cpp is a slightly more developed version of main2_a.cpp.