Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
src
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
H5hut
src
Commits
a29d3c89
Commit
a29d3c89
authored
Aug 11, 2011
by
gsell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flush step after writing dataset
parent
f9710938
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
src/h5core/h5_hdf5_private.h
src/h5core/h5_hdf5_private.h
+18
-0
src/h5core/h5u_readwrite.c
src/h5core/h5u_readwrite.c
+1
-0
No files found.
src/h5core/h5_hdf5_private.h
View file @
a29d3c89
...
...
@@ -1087,6 +1087,24 @@ hdf5_close_file (
HDF5_WRAPPER_RETURN
(
H5_SUCCESS
);
}
static
inline
h5_err_t
hdf5_flush
(
hid_t
obj_id
,
H5F_scope_t
scope
)
{
HDF5_WRAPPER_ENTER2
(
h5_err_t
,
"obj_id=%d (%s)"
,
obj_id
,
hdf5_get_objname
(
obj_id
));
if
(
H5Fflush
(
obj_id
,
scope
)
<
0
)
HDF5_WRAPPER_LEAVE
(
h5_error
(
H5_ERR_HDF5
,
"Cannot flush data
\"
%s
\"
."
,
hdf5_get_objname
(
obj_id
)));
HDF5_WRAPPER_RETURN
(
H5_SUCCESS
);
}
/****** E r r o r h a n d l i n g ********************************************/
static
inline
h5_err_t
...
...
src/h5core/h5u_readwrite.c
View file @
a29d3c89
...
...
@@ -158,6 +158,7 @@ h5u_write_data (
TRY
(
hdf5_close_dataset
(
dset_id
));
f
->
empty
=
0
;
TRY
(
hdf5_flush
(
f
->
step_gid
,
H5F_SCOPE_LOCAL
));
H5_CORE_API_RETURN
(
H5_SUCCESS
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment