summaryrefslogtreecommitdiffstats
path: root/src/H5Oshared.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-09 22:08:54 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-09 22:08:54 (GMT)
commita2a3e47d06ce348ce27718b4a3e0e4b156fba6f5 (patch)
tree423182103eab823f0af546780628fd034cd903b9 /src/H5Oshared.c
parent26d2abe9e87a051cd897f77a4a472a432675db8c (diff)
downloadhdf5-a2a3e47d06ce348ce27718b4a3e0e4b156fba6f5.zip
hdf5-a2a3e47d06ce348ce27718b4a3e0e4b156fba6f5.tar.gz
hdf5-a2a3e47d06ce348ce27718b4a3e0e4b156fba6f5.tar.bz2
[svn-r13129] More refactoring. Moved index versions to the index header, so that an
index can be read all at once. This changes the file format! Tested on Windows, kagiso, and smirom.
Diffstat (limited to 'src/H5Oshared.c')
-rw-r--r--src/H5Oshared.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/H5Oshared.c b/src/H5Oshared.c
index 68d3494..fa6a7ef 100644
--- a/src/H5Oshared.c
+++ b/src/H5Oshared.c
@@ -201,6 +201,12 @@ done:
* Purpose: Changes the link count for the object referenced by a shared
* message.
*
+ * This function changes the object header link count and is
+ * only relevant for committed messages. Messages shared in
+ * the heap are re-shared each time they're written, so their
+ * reference count is stored in the file-wide shared message
+ * index and is changed in a different place in the code.
+ *
* Return: Success: New link count
*
* Failure: Negative
@@ -546,7 +552,6 @@ done:
*
*-------------------------------------------------------------------------
*/
-/* JAMES: this is where shared messages increment their links */
static herr_t
H5O_shared_link(H5F_t *f, hid_t dxpl_id, const void *_mesg)
{
@@ -727,8 +732,6 @@ H5O_shared_debug (H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg,
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_shared_debug)
- /* JAMES_HEAP: this oughta change, too, of course. */
-
/* Check args */
HDassert(f);
HDassert(mesg);