2.(a) What are the four conditions to result in a deadlock? Please detail each condition in your answer.