Trayport Interview Question

What is a deadlock in the context of multi threading?