Tip:
Project owners, see our
Getting
Started guide for steps to configure your project.
|
Project Information
|
OverviewSimple (yet very efficient) multi-threaded memory allocator based on free lists. Features
UsageTo use ltalloc in your C++ application just add ltalloc.cc source file into your project's source files list. It overrides global operators new and delete, which is a fully C++ standard compliant way to replace almost all memory alocation routines in C++ applications (as stl container's default allocators call global operator new). But if this way is not well suilable for you, the other options of plug-in ltalloc into your application are exists as well. Actually, ltalloc.cc source is written in C (and overriding of operators new/delete is disabled automatically if __cplusplus is not defined), so it can be compiled both as C and C++ code. |