Question 31
Which operation decreases a semaphore's value and may block a process?
The wait/P operation attempts to acquire the semaphore and blocks if its value is unavailable.
Which operation decreases a semaphore's value and may block a process?
The wait/P operation attempts to acquire the semaphore and blocks if its value is unavailable.
Which operation increments a semaphore and may wake a waiting process?
The signal/V operation releases a semaphore and may wake a waiting process.
Which condition is NOT one of the four Coffman conditions for deadlock?
The four conditions are mutual exclusion, hold and wait, no preemption, and circular wait.
Deadlock requires the simultaneous existence of:
Deadlock requires mutual exclusion, hold and wait, no preemption, and circular wait.
Which algorithm can be used for deadlock avoidance?
The Banker's algorithm checks whether resource allocation keeps the system in a safe state.