Introduction
In the computer system, different processes can compete for resources. A process will be in the wait state when it requests a resource which is not available. When this resource is allocated to another process in the wait state, then this situation is called a deadlock. In this topics, methods that the operating system is used to deal with deadlock will be described. These methods can be one of the following categories: deadlock prevention, deadlock avoidance, deadlock detection and deadlock recovery.