Pergunta de entrevista da empresa Varonis Systems

Implement safe read and safe write where there can be multiple reads but no multiple writes. Also no read and write at the same time.