Assignment 8, due Oct 25
Part of
the homework for 22C:116, fall 2002
|
A Problem: Express the marking algorithm as a variation on the universal graph meta-algorithm. Then, explain where the recursive version stores the set S during its computation and explain what queueing discipline is used (fifo, lifo) and whether the graph is traversed in breadth-first or depth first order.
A Problem: Give an example of a programming error that could lead to this message even when a deadlock is not possible under the formal definition of a deadlock. Also describe how a deadlock could exist under the example thread manager and yet not be detected by the code as it currently stands.
A Problem: Explain why this is an entirely unreasonable assignment! (Hint: The problem is not a lack of time.)