what are the four conditions for deadlock?
['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.']