Discuss the problems that can arise if the test and set in the P(S) operation are not atomic. What could happen if the simple assignment statement in the V(S) operation were not atomic?
Rewrite the save and restore routines so that they save and restore to the head and tail of a ring buffer, respectively.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here