This document discusses deadlocks in operating systems. It defines a deadlock as when processes are waiting for resources held by other waiting processes, resulting in none progressing. It presents three methods to handle deadlocks: prevention, avoidance, and detection+recovery. Deadlock prevention uses protocols to ensure deadlock conditions cannot occur. Deadlock avoidance requires knowledge of future resource needs to delay requests if needed. Detection and recovery detects when a deadlock occurs and recovers resources.