June 2001
Intermediate to advanced
688 pages
19h 18m
English

The Memory Pool subsystem is the general-purpose shared memory buffer pool used by Berkeley DB. This module is useful outside of the Berkeley DB package for processes that require page-oriented, cached, shared-file access.
A memory pool is a memory cache shared among any number of threads of control. The DB_INIT_MPOOL flag to the DBENV→open interface opens, optionally creating a memory pool. When that pool is no longer in use, it should be closed using the DBENV→close interface.
The memp_fopen interface returns a DB_MPOOLFILE handle on an underlying file within the memory pool. When that handle is no longer ...