summaryrefslogtreecommitdiffstats
path: root/src/H5SMcache.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-09 15:11:16 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-09 15:11:16 (GMT)
commit6e40802f06d0d4f12a710522fd977531d36fafe9 (patch)
tree40f9549e155d34cbfc03612c6fd41259c9e5ace8 /src/H5SMcache.c
parent15b28ad04ab6894cfd308d7855798b6ed82305bc (diff)
downloadhdf5-6e40802f06d0d4f12a710522fd977531d36fafe9.zip
hdf5-6e40802f06d0d4f12a710522fd977531d36fafe9.tar.gz
hdf5-6e40802f06d0d4f12a710522fd977531d36fafe9.tar.bz2
[svn-r13126] More cleanup. Shared messages now use in-heap callbacks when searching
for a matching message, which should improve performance. Tested on Windows, kagiso, and smirom.
Diffstat (limited to 'src/H5SMcache.c')
-rw-r--r--src/H5SMcache.c21
1 files changed, 5 insertions, 16 deletions
diff --git a/src/H5SMcache.c b/src/H5SMcache.c
index 70f6177..7f1c282 100644
--- a/src/H5SMcache.c
+++ b/src/H5SMcache.c
@@ -22,28 +22,19 @@
/***********/
/* Headers */
/***********/
-/* JAMES: these need to go first or else FILE isn't defined in H5Fpkg.h */
-/* JAMES: which of these are really needed? H5Fpkg.h, even? */
-#include "H5private.h" /* Generic Functions */
-#include "H5Aprivate.h" /* Attributes */
-#include "H5ACprivate.h" /* Metadata cache */
-#include "H5Dprivate.h" /* Datasets */
#include "H5Eprivate.h" /* Error handling */
-
-#include "H5Fpkg.h" /* File access */
#include "H5FLprivate.h" /* Free Lists */
-#include "H5FOprivate.h" /* File objects */
-#include "H5HLprivate.h" /* Local heaps */
-#include "H5MFprivate.h" /* File memory management */
#include "H5MMprivate.h" /* Memory management */
-#include "H5Vprivate.h" /* Vectors and arrays */
+
+#include "H5Fpkg.h" /* File access */
#include "H5SMpkg.h" /* Shared object header messages */
-#include "H5FDprivate.h" /* File drivers */
/****************/
/* Local Macros */
/****************/
-/* JAMES: should this change according to address size? */
+/* JAMES: should this change according to address size?
+ Answer: shouldn't use this ever anyway.
+ */
#define H5F_LISTBUF_SIZE H5SM_LIST_SIZEOF_MAGIC + H5O_SHMESG_MAX_LIST_SIZE * 16
#define H5SM_LIST_VERSION 0 /* Verion of Shared Object Header Message List Indexes */
@@ -641,8 +632,6 @@ H5SM_dest_list(H5F_t UNUSED *f, H5SM_list_t* list)
} /* end H5SM_dest_list */
-/* JAMES: should this number be constant, or should it increase and decrease as
- * messages are added and removed? */
/*-------------------------------------------------------------------------
* Function: H5SM_list_size
*