summaryrefslogtreecommitdiffstats
path: root/src/H5FDpublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-12-08 19:44:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-12-08 19:44:20 (GMT)
commit978c9c9d93fc51ea64c83256a97d72d51656bc3a (patch)
tree0f4064defe6e857fbcce12f26084aee7d8122645 /src/H5FDpublic.h
parent8f5f04bff27812dde0a888fceadaf1a3dc17cc8e (diff)
downloadhdf5-978c9c9d93fc51ea64c83256a97d72d51656bc3a.zip
hdf5-978c9c9d93fc51ea64c83256a97d72d51656bc3a.tar.gz
hdf5-978c9c9d93fc51ea64c83256a97d72d51656bc3a.tar.bz2
[svn-r13034] Description:
Take out separate memory type in the file for SOHM objects and create aliases for existing memory types for SOHM use. Tested on: FreeBSD/32 4.11 (sleipnir)
Diffstat (limited to 'src/H5FDpublic.h')
-rw-r--r--src/H5FDpublic.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h
index bab96c0..e6467d5 100644
--- a/src/H5FDpublic.h
+++ b/src/H5FDpublic.h
@@ -39,7 +39,6 @@ typedef enum H5FD_mem_t {
H5FD_MEM_GHEAP = 4,
H5FD_MEM_LHEAP = 5,
H5FD_MEM_OHDR = 6,
- H5FD_MEM_SOHM = 7,
H5FD_MEM_NTYPES /*must be last*/
} H5FD_mem_t;
@@ -76,6 +75,19 @@ typedef enum H5FD_mem_t {
#define H5FD_MEM_FSPACE_HDR H5FD_MEM_OHDR
#define H5FD_MEM_FSPACE_SINFO H5FD_MEM_LHEAP
+/* Map "shared object header message" master table to 'ohdr' type file memory,
+ * since its a fair amount of work to add a new kind of file memory and they are
+ * similar enough to object headers and probably too minor to deserve their own
+ * type.
+ *
+ * Map "shared object header message" indices to 'btree' type file memory,
+ * since they are similar enough to B-tree nodes.
+ *
+ * -QAK
+ */
+#define H5FD_MEM_SOHM_TABLE H5FD_MEM_OHDR
+#define H5FD_MEM_SOHM_INDEX H5FD_MEM_BTREE
+
/*
* A free-list map which maps all types of allocation requests to a single
* free list. This is useful for drivers that don't really care about