ThreadHeap< NumHeaps, PerThreadHeap > Class Template Reference

#include <threadspecificheap.h>

List of all members.

Public Member Functions

 ThreadHeap (void)
void * malloc (size_t sz)
void free (void *ptr)

Private Member Functions

PerThreadHeap * getHeap (int index)

Static Private Member Functions

static volatile int getThreadId (void)

Private Attributes

PerThreadHeap ptHeaps [NumHeaps]

template<int NumHeaps, class PerThreadHeap>
class ThreadHeap< NumHeaps, PerThreadHeap >


Constructor & Destructor Documentation

template<int NumHeaps, class PerThreadHeap >
ThreadHeap< NumHeaps, PerThreadHeap >::ThreadHeap ( void   )  [inline]

Member Function Documentation

template<int NumHeaps, class PerThreadHeap >
void ThreadHeap< NumHeaps, PerThreadHeap >::free ( void *  ptr  )  [inline]
template<int NumHeaps, class PerThreadHeap >
PerThreadHeap* ThreadHeap< NumHeaps, PerThreadHeap >::getHeap ( int  index  )  [inline, private]
template<int NumHeaps, class PerThreadHeap >
volatile int ThreadHeap< NumHeaps, PerThreadHeap >::getThreadId ( void   )  [inline, static, private]
template<int NumHeaps, class PerThreadHeap >
void* ThreadHeap< NumHeaps, PerThreadHeap >::malloc ( size_t  sz  )  [inline]

Member Data Documentation

template<int NumHeaps, class PerThreadHeap >
PerThreadHeap ThreadHeap< NumHeaps, PerThreadHeap >::ptHeaps[NumHeaps] [private]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:29 2011 for Galois by  doxygen 1.6.3