#include <misc.h>
Inheritance diagram for ost::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 ost::MemPager. |
|
|
Get the first memory page after locking.
Reimplemented from ost::MemPager. |
|
|
Purge the memory pool while locked.
Reimplemented from ost::MemPager. |
1.3.9.1