Pergunta de entrevista da empresa JetHead Development

Where to put a mutex to prevent a deadlock.