Learn more about cloning repositories
You have read-only access
Use a one-character buffer to send/receive messages to/from writer/reader, since that's all we need. Avoid deadlock by flushing the file before waiting for the reader's message.