1. List the possible orderings of the instructions of the two processes, each having three instructions.
2. Write code using Pthreads with a condition variable to implement the example given in Section 8.3.2 for two “action” routines waiting on a “counter” routine to decrement a counter to zero.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here