Question

How can the Banker's algorithm be used to prevent deadlocks?

A By killing processes that are in a deadlock state.
B By ensuring that at least one process releases all of its resources before requesting new ones.
C By dynamically allocating resources to processes and only granting requests that leave the system in a safe state.
D By immediately releasing all resources held by a process that enters a waiting state.
E None of these
Practice Next

Relevant for Exams:

Hey! Ask a query