The signal operation of the semaphore basically works on the basic _______ system call
A. continue()
B. wakeup()
C. getup()
D. start()
查看答案
Two processes, P1 and P2, need to access a critical section of code. Consider the following synchronization construct used by the processes.Here, w1 and w2 have shared variables, which are initialized to false. Which one of the following statements is TRUE about the above construct?
A. It does not ensure mutual exclusion
B. It does not ensure bounded waiting
C. It requires that processes enter the critical section in strict alternation
D. It does not prevent deadlocks but ensures mutual exclusion
What will happen if a non-recursive mutex is locked more than once?
A. Starvation
B. Deadlock
C. Aging
D. Signaling
What is a semaphore?
A. is a binary mutex
B. must be accessed from only one process
C. can be accessed from multiple processes
D. none of the mentioned
What is a mutex?
A. is a binary mutex
B. must be accessed from only one process
C. can be accessed from multiple processes
D. none of the mentioned