GCS
0.2.3
|
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 > |