Pergunta de entrevista da empresa Trayport

What is a deadlock in the context of multi threading?