You should observe that the program sleeps rather longer than expected. Replace the use of nanosleep() with the use of clock_gettime() (use a CLOCK_REALTIME clock) and clock_nanosleep() with the TIMER_ABSTIME flag. (This exercise requires Linux 2.6.) Repeat the test with the modified program and explain the difference.