Dropped in my Operating System test the following question: "Semaphores prevent a deadlock"? From what I had studied, I believed the answer to be "YES". But on returning the test, the teacher simply wrote "WRONG!", But did not justify. Could someone explain me why?