atomic_preallocated_pool Struct Reference
Inherits atomic_container.
Inherited by atomic_class_pool< T > [protected]
.
Inheritance diagram for atomic_preallocated_pool:
[legend]Collaboration diagram for atomic_preallocated_pool:
[legend]List of all members.
Detailed Description
A thread-safe memory pool based on the atomic container, used by atomic_class_pool.
- Note:
- this code is not used by the storage manager (or maintained) anymore. The code is still distributed with releases only because it is used by an important client, the "kits" distributed by DIAS.
Creates a new atomic_container with seed pre-allocated untyped items of size nbytes each. It is important to have a non-zero seed value so that atomic_container versioning works correctly.
Maintains a global freelist of fixed-sized memory chunks to recycle and provides a drop-in replacement for malloc() and free()
Definition at line 53 of file atomic_class_pool.h.
The documentation for this struct was generated from the following file:
Generated on Mon Jan 2 15:14:03 2012 for Shore Storage Manager by
1.4.7