This sixth lab will explore the writing of some simple concurrent code, further to the things we learned in Chapter 29.
This lab is an individual deliverable.
Submit your answers and code as directed by the Lab Instructor.
Complete questions 1, 2, and 3 from the Homework section of Chapter 29, found at page 16 of that chapter.
For question 1, some sample code to test a timer is here.Â
You may also want to explore clock_gettime(CLOCK_MONOTONIC) for better accuracy.