ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

memory.h File Reference
#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/linked.h>
#include <ucommon/string.h>
Include dependency graph for memory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ucommon::memalloc
struct  ucommon::memalloc::mempage
class  ucommon::mempager
class  ucommon::ObjectPager
class  ucommon::ObjectPager::member
class  ucommon::StringPager
class  ucommon::StringPager::member
class  ucommon::DirPager
class  ucommon::autorelease
class  ucommon::PagerObject
class  ucommon::PagerPool
class  ucommon::pager< T >




typedef StringPager ucommon::stringlist_t
typedef StringPager::member ucommon::stringlistitem_t
typedef DirPager ucommon::dirlist_t


String ucommon::str (StringPager &list, const char *prefix=NULL, const char *middle=NULL, const char *suffix=NULL)

Detailed Description

Private heaps, pools, and associations. Private heaps often can reduce locking contention in threaded applications since they do not require using the global "malloc" function. Private heaps also can be used as auto-release heaps, where all memory allocated and handled out for small objects can be automatically released all at once. Pager pools are used to optimize system allocation around page boundaries. Associations allow private memory to be tagged and found by string identifiers.

Definition in file memory.h.