Frage im Vorstellungsgespräch bei Microchip Technology

How do two threads access the same variable without conflicts?