Meta interview question

What's a deadlock? How do you detect a deadlock?