#include <misc.h>
Inheritance diagram for SharedMemPager::
Protected Methods | |
SharedMemPager (int pg=4096) | |
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 MemPager. |
|
Get the first memory page after locking.
Reimplemented from MemPager. |
|
Purge the memory pool while locked.
Reimplemented from MemPager. |