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

Apply a lock to a heap. More...

#include <Mem.h>

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

Public Types

enum  { AllocSize = SourceHeap::AllocSize }
 

Public Member Functions

void * allocate (size_t size)
 
void deallocate (void *ptr)
 

Detailed Description

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

Apply a lock to a heap.

Member Enumeration Documentation

template<class SourceHeap >
anonymous enum
Enumerator
AllocSize 

Member Function Documentation

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

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