vibe.d beta banner
get vibe.d
0.8.1

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.utils.memory

Utility functions for memory management

Note that this module currently is a big sand box for testing allocation related stuff. Nothing here, including the interfaces, is final but rather a lot of experimentation.

Functions

NameDescription
allocArray(allocator, n)
allocObject(allocator, args)
defaultAllocator()
freeArray(allocator, array, call_destructors)
manualAllocator()

Interfaces

NameDescription
Allocator

Classes

NameDescription
AutoFreeListAllocator
DebugAllocator
FreeListAlloc
GCAllocator
LockAllocatorSimple proxy allocator protecting its base allocator with a mutex.
MallocAllocator
PoolAllocator

Structs

NameDescription
FreeListRef

Templates

NameDescription
AllocSize
FreeListObjectAlloc
Authors

Sönke Ludwig

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.