MPOOL *mpool_open(DBT *key, int fd, pgno_t pagesize, pgno_t maxcache);
Is the key uses to coordinate access between multiple processes, or NULL for a private pool.
Is the file descriptor for the underlying file, which must be seekable. If key is non-NULL and matches a file already being mapped, the fd parameter is ignored.
Is the size, in bytes, of the pages into which the file is broken up.
Is the maximum number of pages from the underlying file to cache at any one time. This value is not relative to the number of processes which share a file's buffers, but is the largest value specified by any of the processes sharing the file.
Sharing of memory pools between processes is not currently supported. The key parameter is ignored, and the pool is created privately in the calling process.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
malloc(), mpool_close(), mpool_filter(), mpool_get(), mpool_new(), mpool_put(), mpool_sync()
PTC MKS Toolkit 10.3 Documentation Build 39.