Hi
Interix does not know MAP_ANON or -NOCORE only MAP_SHARED, -PRIVATE and -FIXED.
Henrik
Memory.cpp.zip (495 Bytes)
Hi
Interix does not know MAP_ANON or -NOCORE only MAP_SHARED, -PRIVATE and -FIXED.
Henrik
Memory.cpp.zip (495 Bytes)
Okay, so the question is, how do you do the equivalent of a MAP_ANON allocation on Interix. We don't want to map a file here. We're just asking for virtual memory (unbacked by swap or file) to be allocated to the process. Is there a way to do that on Interix? The corresponding way to do that in Win32 is with the VirtualAlloc function. Perhaps we need to use that directly? Is it available? Am I asking enough questions?
Reid.
Henrik Bach wrote: