Pregunta de entrevista de Alarm.com

How to make something thread safe