I don't think this is safe. The reader cannot block on the writer.