summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-22 22:07:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-22 22:07:35 (GMT)
commit40c757d48b5fcdf0c217ae6392fb111b1a4acc91 (patch)
tree47e0f8d65be066d01c93ea7701d0632768aa8673 /src/H5Oprivate.h
parent683d60460a94869225094b4efc824258c5b0dcd3 (diff)
downloadhdf5-40c757d48b5fcdf0c217ae6392fb111b1a4acc91.zip
hdf5-40c757d48b5fcdf0c217ae6392fb111b1a4acc91.tar.gz
hdf5-40c757d48b5fcdf0c217ae6392fb111b1a4acc91.tar.bz2
[svn-r18619] Description:
Bring r18618 from trunk to 1.8 branch: Add new internal object header routines to query the header chunk that a message is in, and to lock/unlock a message into a chunk (so it doesn't get moved into another chunk during allocation/free events). Also, move dataspace message to beginning of object header messages added to a dataset's object header, so it can be locked into chunk #0 (when performing SWMR operations). Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode (h5committested on trunk)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 927deb3..2a3ea95 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -21,8 +21,6 @@
*
* Purpose: Object header private include file.
*
- * Modifications:
- *
*-------------------------------------------------------------------------
*/
#ifndef _H5Oprivate_H
@@ -673,6 +671,9 @@ H5_DLL void* H5O_msg_decode(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
unsigned type_id, const unsigned char *buf);
H5_DLL herr_t H5O_msg_delete(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
unsigned type_id, void *mesg);
+H5_DLL int H5O_msg_get_chunkno(const H5O_loc_t *loc, unsigned type_id, hid_t dxpl_id);
+H5_DLL herr_t H5O_msg_lock(const H5O_loc_t *loc, unsigned type_id, hid_t dxpl_id);
+H5_DLL herr_t H5O_msg_unlock(const H5O_loc_t *loc, unsigned type_id, hid_t dxpl_id);
/* Object copying routines */
H5_DLL herr_t H5O_copy_header_map(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst /*out */,