Domanda di colloquio di Electronic Arts

How would you prevent deadlock?