| 
    libMesh
    
   | 
 
Scalable allocator to be used in multithreaded code chunks which allocate a lot of dynamic memory. More...
#include <threads_allocators.h>
Classes | |
| struct | rebind | 
Public Types | |
| typedef T * | pointer | 
| typedef T | value_type | 
| typedef size_t | size_type | 
| typedef std::ptrdiff_t | difference_type | 
| typedef T * | pointer | 
| typedef T | value_type | 
| typedef size_t | size_type | 
| typedef std::ptrdiff_t | difference_type | 
Public Member Functions | |
| scalable_allocator () | |
| scalable_allocator (const scalable_allocator &a) | |
| template<typename U > | |
| scalable_allocator (const scalable_allocator< U > &a) | |
| scalable_allocator () | |
| scalable_allocator (const scalable_allocator &a) | |
| template<typename U > | |
| scalable_allocator (const scalable_allocator< U > &a) | |
Public Attributes | |
| const typedef T * | const_pointer | 
Scalable allocator to be used in multithreaded code chunks which allocate a lot of dynamic memory.
Just use std::allocator when the Threading Building Blocks is absent.
This allocator can be faster than the std::allocator when there are multiple threads.
Definition at line 56 of file threads_allocators.h.
| typedef std::ptrdiff_t libMesh::Threads::scalable_allocator< T >::difference_type | 
Definition at line 65 of file threads_allocators.h.
| typedef std::ptrdiff_t libMesh::Threads::scalable_allocator< T >::difference_type | 
Definition at line 104 of file threads_allocators.h.
| typedef T* libMesh::Threads::scalable_allocator< T >::pointer | 
Definition at line 59 of file threads_allocators.h.
| typedef T* libMesh::Threads::scalable_allocator< T >::pointer | 
Definition at line 98 of file threads_allocators.h.
| typedef size_t libMesh::Threads::scalable_allocator< T >::size_type | 
Definition at line 64 of file threads_allocators.h.
| typedef size_t libMesh::Threads::scalable_allocator< T >::size_type | 
Definition at line 103 of file threads_allocators.h.
| typedef T libMesh::Threads::scalable_allocator< T >::value_type | 
Definition at line 63 of file threads_allocators.h.
| typedef T libMesh::Threads::scalable_allocator< T >::value_type | 
Definition at line 102 of file threads_allocators.h.
      
  | 
  inline | 
Definition at line 73 of file threads_allocators.h.
      
  | 
  inline | 
Definition at line 76 of file threads_allocators.h.
      
  | 
  inline | 
Definition at line 80 of file threads_allocators.h.
      
  | 
  inline | 
Definition at line 112 of file threads_allocators.h.
      
  | 
  inline | 
Definition at line 115 of file threads_allocators.h.
      
  | 
  inline | 
Definition at line 119 of file threads_allocators.h.
| const typedef T * libMesh::Threads::scalable_allocator< T >::const_pointer | 
Definition at line 60 of file threads_allocators.h.
 1.8.16