Question d’entretien chez Morgan Stanley

Write a piece of code that will create a deadlock.