Can traffic lights prevent deadlock?

1

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?

    
asked by anonymous 07.12.2016 / 01:42

0 answers