ntdll: a simple implementation of cross-process NtAllocateVirtualMemory

Dan Kegel dank at kegel.com
Fri Jun 2 13:59:37 CDT 2006


On 6/2/06, Alexandre Julliard <julliard at winehq.org> wrote:
> > Why isn't a call to mmap enough?
>
> You need to build the proper structures on the client side, just like
> a normal VirtualAlloc would, otherwise the process won't know about
> that memory area.

OK, new plan: how about we preallocate a memory
area just big enough for the common case, with the
structures all set up, and let the server hand it
out to the first process to ask for it?  I don't think
it needs to be very big.
- Dan

-- 
Wine for Windows ISVs: http://kegel.com/wine/isv



More information about the wine-devel mailing list