Pergunta de entrevista da empresa Amazon

how to control shared memory access problem?