#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. | |
| void* | first (int size) |
| Get the first memory page after locking. More... | |
| void* | alloc (int 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.
|
|
|
Get the first memory page after locking.
|
|
|
Purge the memory pool while locked.
Reimplemented from MemPager. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000