Skip to content

mmap methods are completed

Changelog:

  • mmap.size() is done
  • mmap.tell() too
  • mmap.flush() is done
  • I had some problems with memmove() syscall from ctypes so I implemented mmap.move() with memcpy()
  • mmap.resize() works where supported (not supported on OSX and FreeBSD)

I discovered an ugly alignment problem caling msync() syscall but it has been fixed. The problem was in Linux only…

mmap methods are completed, now I have to make it behave as a string and a file like object for real.

Additional comments powered by BackType