Pregunta de entrevista de NVIDIA

Explain deadlock and how to avoid it.