[erlang-questions] append to a memory-mapped file
Thu Dec 16 11:50:24 CET 2010
On Thu, Dec 16, 2010 at 1:43 PM, Joel Reymont <joelr1@REDACTED> wrote:
> Is there a way to append to a mmap-ed file such that appended data is available in the memory mapping?
> Yes, I plan to make the memory-mapped region available as a binary.
> I understand that I can just open and mmap the file again but that seems rather wasteful when appending 8 bytes at a time which is what I'll be doing.
Add proper nif functions that will not only create you mmaped file but
also write to it.
More information about the erlang-questions