Pregunta de entrevista de Xsight Labs

about a queue how to sync it efficiently for both reader and writer