Source
H5F_file_t *uncloseable_head = NULL; /* Head of linked list of files found to be uncloseable by the first pass */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*-------------------------------------------------------------------------
*
* Created: H5Defc.c
* December 13, 2010
* Neil Fortner <nfortne2@hdfgroup.org>
*
* Purpose: External file caching routines - implements a
* cache of external files to minimize the number of
* file opens and closes.
*
*-------------------------------------------------------------------------
*/
/* Packages needed by this file... */
/* Special values for the "tag" field below */
/* Structure for each entry in a file's external file cache */
typedef struct H5F_efc_ent_t {
char *name; /* Name of the file */
H5F_t *file; /* File object */
struct H5F_efc_ent_t *LRU_next; /* Next item in LRU list */
struct H5F_efc_ent_t *LRU_prev; /* Previous item in LRU list */
unsigned nopen; /* Number of times this file is currently opened by an EFC client */