Sample Final
Sample Final
Summer, 2004
1) What problems does the use of errno present in thread programming? How is this handled by
Posix threads?
4) Identify two reasons multi-media systems can be treated differently with regard to scheduling
than general real-time systems.
6) Review safe and unsafe resource allocation states and the bankers algorithm. Is the following
a safe or unsafe resource allocation state?
In use Maximum required Available
Process 1 102 112 010
Process 2 111 122
sample-final.doc