So I am asked to find from which of these four cases is a semaphore needed to avoid the creation of a deadlock. I am not sure I have grasped this idea yet, so some help would be