www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - MS VirtualFree(), VirtualAlloc()

reply BLS <windevguy hotmail.de> writes:
Hi, for reasons I don't completely understand I would like to implement 
a BIP Buffer in D2.  ;) well async IO is the use case .. I think.

How can I allocate/free buffer-space from virtual memory ?

What I am looking for is a way to do platform independent allocating of 
memory from the virtual address space.  Like - VirtualAlloc/Free() in MS 
Win.

Thanks in advance,
Bjoern
Jul 02 2010
parent BLS <windevguy hotmail.de> writes:
On 02/07/2010 20:11, BLS wrote:
 Hi, for reasons I don't completely understand I would like to implement
 a BIP Buffer in D2. ;) well async IO is the use case .. I think.

 How can I allocate/free buffer-space from virtual memory ?

 What I am looking for is a way to do platform independent allocating of
 memory from the virtual address space. Like - VirtualAlloc/Free() in MS
 Win.

 Thanks in advance,
 Bjoern
mmap or mallloc is what I get.. Pretty interesting. shit
Jul 03 2010