Question - What conditions for deadlock to occur?are the necessary
Answer -
1. At least one resource should be occupied in a non-sharable condition.
2. A process holding at least one resource is waiting for more resources currently in use by other processes.
3. It is not possible to pre-empt the resource.
4. There exists a circular wait for processes.