Deadlock detection
All the resource requests by processes are granted as long as they within the availability limits. Periodically the OS checks for circular wait and resolves it.
Policy1: When to check for circular wait? Every time a resource request is made? For every “n-th” request?
Policy2: How to break the deadlock once detected?
Question: What is a policy ? and What is a mechanism? Ans: “WHAT to do” and “HOW to do” describe policy and mechanism respectively.