GCS  0.2.3
Public Member Functions | Protected Member Functions | Friends
gu::MemPool< thread_safe > Class Template Reference

Public Member Functions

 MemPool (int buf_size, int reserve=0, const char *name="")
 
void * acquire ()
 
void recycle (void *buf)
 
void print (std::ostream &os) const
 
size_t buf_size () const
 

Protected Member Functions

void * from_pool ()
 
bool to_pool (void *buf)
 
void * alloc ()
 
void free (void *const buf)
 

Friends

class MemPool< true >
 

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