Pregunta de entrevista de Collins Aerospace

How do you counter deadlock in OS processes?