Multiple Choice
In the monitor solution for dining-philosophers problem (Figure 7.7) , a philosopher may start eating
A) at the end of the pickup( ) function before exiting the function.
B) in the beginning of the putdown( ) function
C) after exiting the pickup( ) function and before entering the putdown( ) function.
D) All of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Q47: A difference between software transactional memory (STM)
Q48: Explain the key limitation of wait( )
Q49: Describe a scenario when using a reader-writer
Q50: In the solution for bounded buffer problem
Q51: Explain how can a POSIX unnamed semaphore
Q52: Transactional memory may particularly be useful for
Q53: A reader-writer lock gives preference to writer
Q54: Atomic integers in Linux are useful when<br>A)
Q55: A call to pthread_cond_signal() (used by POSIX
Q57: Each critical section must be assigned a