Question: what are the necessary conditions for deadlock occurrence?
Answer: mutual exclusion. The resources involved must be unshareable; otherwise, the processes would not be prevented from using the resource when necessary. hold and wait or partial allocation. ...  no pre-emption. ...  resource waiting or circular wait.