Thrill  0.1
pool.hpp File Reference
#include <thrill/common/config.hpp>
#include <thrill/mem/allocator_base.hpp>
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <mutex>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
+ Include dependency graph for pool.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FixedPoolAllocator< Type, pool_ >
 
struct  FixedPoolAllocator< Type, pool_ >::rebind< U >
 Return allocator for different type. More...
 
class  GPoolDeleter< T >
 deleter for unique_ptr with memory from mem::g_pool. More...
 
class  Pool
 A simple memory allocation manager. More...
 
class  PoolAllocator< Type >
 
struct  PoolAllocator< Type >::rebind< U >
 Return allocator for different type. More...
 

Namespaces

 thrill
 
 thrill::mem
 

Macros

#define THRILL_MEM_POOL_HEADER
 

Typedefs

template<typename Type >
using GPoolAllocator = FixedPoolAllocator< Type, GPool >
 template alias for allocating from mem::g_pool. More...
 
using safe_ostringstream = std::basic_ostringstream< char, std::char_traits< char >, mem::GPoolAllocator< char > >
 
using safe_string = std::basic_string< char, std::char_traits< char >, mem::GPoolAllocator< char > >
 
template<typename T >
using safe_unique_ptr = std::unique_ptr< T, GPoolDeleter< T > >
 unique_ptr with memory from mem::g_pool. More...
 

Functions

Pool & GPool ()
 singleton instance of global pool for I/O data structures More...
 
template<typename T , typename... Args>
safe_unique_ptr< Tsafe_make_unique (Args &&... args)
 make_unique with Manager tracking More...
 

Macro Definition Documentation

◆ THRILL_MEM_POOL_HEADER

#define THRILL_MEM_POOL_HEADER

Definition at line 18 of file pool.hpp.