#include <MMAP_Memory_Pool.h>
Inheritance diagram for ACE_Lite_MMAP_Memory_Pool:


| Public Member Functions | |
| ACE_Lite_MMAP_Memory_Pool (const ACE_TCHAR *backing_store_name=0, const OPTIONS *options=0) | |
| Initialize the pool. | |
| virtual | ~ACE_Lite_MMAP_Memory_Pool (void) | 
| Destructor. | |
| virtual int | sync (size_t len, int flags=MS_SYNC) | 
| Overwrite the default sync behavior with no-op. | |
| virtual int | sync (int flags=MS_SYNC) | 
| Overwrite the default sync behavior with no-op. | |
| virtual int | sync (void *addr, size_t len, int flags=MS_SYNC) | 
| Overwrite the default sync behavior with no-op. | |
This implementation allows memory to be shared between processes. However, unlike the ACE_MMAP_Memory_Pool the methods are no-ops, which means that we don't pay for the price of flushing the memory to the backing store on every update. Naturally, this trades off increased performance for less reliability if the machine crashes.
Definition at line 300 of file MMAP_Memory_Pool.h.
| 
 | ||||||||||||
| Initialize the pool. 
 Definition at line 546 of file MMAP_Memory_Pool.cpp. References ACE_TCHAR, and ACE_TRACE. 
 00548 : ACE_MMAP_Memory_Pool (backing_store_name, options) 00549 { 00550 ACE_TRACE ("ACE_Lite_MMAP_Memory_Pool::ACE_Lite_MMAP_Memory_Pool"); 00551 } | 
| 
 | 
| Destructor. 
 Definition at line 553 of file MMAP_Memory_Pool.cpp. 
 00554 {
00555 }
 | 
| 
 | ||||||||||||||||
| Overwrite the default sync behavior with no-op. 
 Reimplemented from ACE_MMAP_Memory_Pool. Definition at line 572 of file MMAP_Memory_Pool.cpp. References ACE_TRACE. 
 00573 {
00574   ACE_TRACE ("ACE_Lite_MMAP_Memory_Pool::sync");
00575   return 0;
00576 }
 | 
| 
 | 
| Overwrite the default sync behavior with no-op. 
 Reimplemented from ACE_MMAP_Memory_Pool. Definition at line 565 of file MMAP_Memory_Pool.cpp. References ACE_TRACE. 
 00566 {
00567   ACE_TRACE ("ACE_Lite_MMAP_Memory_Pool::sync");
00568   return 0;
00569 }
 | 
| 
 | ||||||||||||
| Overwrite the default sync behavior with no-op. 
 Reimplemented from ACE_MMAP_Memory_Pool. Definition at line 558 of file MMAP_Memory_Pool.cpp. References ACE_TRACE. 
 00559 {
00560   ACE_TRACE ("ACE_Lite_MMAP_Memory_Pool::sync");
00561   return 0;
00562 }
 | 
 1.3.6
 
1.3.6