#include <misc.h>
Inheritance diagram for ost::SharedMemPager::
Protected Methods | |
SharedMemPager (size_t pagesize=4096, const char *name=NULL) | |
Create a mempager mutex pool. More... | |
void | purge (void) |
Purge the memory pool while locked. More... | |
void* | first (size_t size) |
Get the first memory page after locking. More... | |
void* | alloc (size_t size) |
Get the last memory page after locking. More... |
This class is used when a mempager will be shared by multiple threads.
|
Create a mempager mutex pool.
|
|
Get the last memory page after locking.
Reimplemented from ost::MemPager. |
|
Get the first memory page after locking.
Reimplemented from ost::MemPager. |
|
Purge the memory pool while locked.
Reimplemented from ost::MemPager. |