Pergunta de entrevista da empresa Microchip Technology

How do two threads access the same variable without conflicts?