#include <misc.h>
Inheritance diagram for SharedMemPager:
Protected Member Functions | |
SharedMemPager (size_t pagesize=4096, const char *name=NULL) | |
Create a mempager mutex pool. | |
void | purge (void) |
Purge the memory pool while locked. | |
void * | first (size_t size) |
Get the first memory page after locking. | |
void * | alloc (size_t size) |
Get the last memory page after locking. |
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 MemPager. |
|
Get the first memory page after locking.
Reimplemented from MemPager. |
|
Purge the memory pool while locked.
Reimplemented from MemPager. |