Consider a computer system with multiple shared resource types, with one instance per resource type. Each instance can be owned by only one process at a time. Owning and freeing of resources are done by holding a global lock (L). The following scheme is used to own a resource instance:
Which of the following choice(s) about the above scheme is/are correct?
code
- AThe scheme ensures that deadlocks will not occur.
- BThe scheme may lead to live-lock.
- CThe scheme may lead to starvation.
- DThe scheme violates the mutual exclusion property.

