The 4 conditions for deadlocks