Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::runtime::SelfLockFreeListHeap< SourceHeap > Class Template Reference

Maintain a freelist using a lock which doesn't cover SourceHeap. More...

#include <Mem.h>

Inheritance diagram for galois::runtime::SelfLockFreeListHeap< SourceHeap >:

Public Types

enum  { AllocSize = SourceHeap::AllocSize }
 

Public Member Functions

void clear ()
 
 SelfLockFreeListHeap ()
 
 ~SelfLockFreeListHeap ()
 
void * allocate (size_t size)
 
void deallocate (void *ptr)
 

Detailed Description

template<class SourceHeap>
class galois::runtime::SelfLockFreeListHeap< SourceHeap >

Maintain a freelist using a lock which doesn't cover SourceHeap.

Member Enumeration Documentation

template<class SourceHeap >
anonymous enum
Enumerator
AllocSize 

Constructor & Destructor Documentation

template<class SourceHeap >
galois::runtime::SelfLockFreeListHeap< SourceHeap >::SelfLockFreeListHeap ( )
inline
template<class SourceHeap >
galois::runtime::SelfLockFreeListHeap< SourceHeap >::~SelfLockFreeListHeap ( )
inline

Member Function Documentation

template<class SourceHeap >
void* galois::runtime::SelfLockFreeListHeap< SourceHeap >::allocate ( size_t  size)
inline
template<class SourceHeap >
void galois::runtime::SelfLockFreeListHeap< SourceHeap >::clear ( void  )
inline
template<class SourceHeap >
void galois::runtime::SelfLockFreeListHeap< SourceHeap >::deallocate ( void *  ptr)
inline

The documentation for this class was generated from the following file: