1N/A * See the file LICENSE for redistribution information. 1N/A * Copyright (c) 1996, 1997, 1998 1N/A * Sleepycat Software. All rights reserved. 1N/A#
endif /* not lint */ 1N/A /* Validate arguments. */ 1N/A /* Extract fields from DB_ENV structure. */ 1N/A /* Create and initialize the DB_MPOOL structure. */ 1N/A /* Decide if it's possible for anyone else to access the pool. */ 1N/A * Map in the region. We do locking regardless, as portions of it are 1N/A * implemented in common code (if we put the region in a file, that is). 1N/A * If there's concurrent access, then we have to lock the region. 1N/A * If it's threaded, then we have to lock both the handles and the 1N/A * region, and we need to allocate a mutex for that purpose. 1N/A * Close a memory pool. 1N/A /* Discard DB_MPREGs. */ 1N/A /* Discard DB_MPOOLFILEs. */ 1N/A /* Discard thread mutex. */ 1N/A /* Close the region. */ 1N/A * Panic a memory pool. 1N/A * PUBLIC: void __memp_panic __P((DB_ENV *)); 1N/A * Exit a memory pool. 1N/A * Register a file type's pgin, pgout routines. 1N/A * Insert at the head. Because we do a linear walk, we'll find 1N/A * the most recent registry in the case of multiple entries, so 1N/A * we don't have to check for multiple registries.