CUBRID Engine  latest
HL::LockedHeap< LockType, Super > Class Template Reference

#include <lockedheap.h>

Inheritance diagram for HL::LockedHeap< LockType, Super >:
Inheritance graph
Collaboration diagram for HL::LockedHeap< LockType, Super >:
Collaboration graph

Public Types

enum  { Alignment = Super::Alignment }
 

Public Member Functions

void * malloc (size_t sz)
 
void free (void *ptr)
 
size_t getSize (void *ptr) const
 
size_t getSize (void *ptr)
 
void lock ()
 
void unlock ()
 

Private Attributes

LockType thelock
 

Detailed Description

template<class LockType, class Super>
class HL::LockedHeap< LockType, Super >

Definition at line 27 of file lockedheap.h.

Member Enumeration Documentation

template<class LockType, class Super>
anonymous enum
Enumerator
Alignment 

Definition at line 30 of file lockedheap.h.

Member Function Documentation

template<class LockType, class Super>
void HL::LockedHeap< LockType, Super >::free ( void *  ptr)
inline

Definition at line 37 of file lockedheap.h.

Referenced by hl_fixed_free().

Here is the caller graph for this function:

template<class LockType, class Super>
size_t HL::LockedHeap< LockType, Super >::getSize ( void *  ptr) const
inline

Definition at line 42 of file lockedheap.h.

template<class LockType, class Super>
size_t HL::LockedHeap< LockType, Super >::getSize ( void *  ptr)
inline

Definition at line 47 of file lockedheap.h.

template<class LockType, class Super>
void HL::LockedHeap< LockType, Super >::lock ( )
inline

Definition at line 52 of file lockedheap.h.

template<class LockType, class Super>
void* HL::LockedHeap< LockType, Super >::malloc ( size_t  sz)
inline

Definition at line 32 of file lockedheap.h.

Referenced by hl_fixed_alloc().

Here is the caller graph for this function:

template<class LockType, class Super>
void HL::LockedHeap< LockType, Super >::unlock ( )
inline

Definition at line 56 of file lockedheap.h.

Member Data Documentation


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