Consider the locked file of Fig. 10-26(c). Suppose that a process tries to lock bytes 10 and 11 and blocks. Then, before C releases its lock, yet another process tries to lock bytes 10 and 11, and also blocks. What kinds of problems are introduced into the semantics by this situation? Propose and defend two solutions.
Figure 10-26. (a) A file with one lock, (b) Addition of a second lock, (c) A third lock.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here