Pregunta de entrevista de Coforge

How is data integrity protected in a multithreading , multi processor environment?