Apple interview question

Describe deadlock mechanism.