I was researching ways to share memory in different contexts (specifically user-space and kernel). I came across two ways, one is mmap()
which is in the POSIX standard, and another is Areas in Haiku. Both are fairly similar according to me, just that mmap()
supports file descriptors. Are there any advantages of Areas over mmap()
?
EDIT: Never mind, the mmap()
implementation uses Areas.