Lecture 7 home work

Read 9, 10, 11, and 12 (until 12-3, file sys1.c) of Lions's book, and corresponding code.

Assignment: What do the statements at line 2088 and line 2092 do? Give an actual sequence of events that will result in erroneous behavior if these two statements are omitted. Your sequence of events should be as concrete as possible, not merely hypothetical. Please, hand in a timeline with a sequence of events at beginning of lecture. (Hint: there are several scenarios that can lead to deadlock.)