Øvelse+7.2+-+OSApi+udvidet

Exercise 7.2.1:
How do you encapsulate the information that must be sent around in the system? What resource do you need for communication between the Input Thread and the Storage Thread? How do you make the Info Thread look every 3 seconds for new data? How do you secure atomic access to the most recent info between the Storage Thread and the Info Thread?
 * Der oprettes et message objekt som er nedarvet fra Osapi::Message
 * En besked kø kan anvendes.
 * Sleep kan benyttes eller en timer
 * Der bruges n get-funktion (her getPerson) i StorageThread som kan kaldes fra InfoThread. Da data deles skal det mutexbeskyttelse til.

Øvelse 2:
Klassediagram