summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormyang6 <myang6@hdfgroup.org>2021-12-01 22:52:28 (GMT)
committermyang6 <myang6@hdfgroup.org>2021-12-01 22:52:28 (GMT)
commit904c2efddec9a99a68e799b28a9f2e9381c86f0b (patch)
tree80d2ede354d7975766a2dc585f95a6ff06de2e18 /test
parent75518fb5be18aeaf5fae4b75bc6d1927b517feb7 (diff)
downloadhdf5-904c2efddec9a99a68e799b28a9f2e9381c86f0b.zip
hdf5-904c2efddec9a99a68e799b28a9f2e9381c86f0b.tar.gz
hdf5-904c2efddec9a99a68e799b28a9f2e9381c86f0b.tar.bz2
Add some comments.
Diffstat (limited to 'test')
-rw-r--r--test/vfd_swmr_indep_rw_writer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/vfd_swmr_indep_rw_writer.c b/test/vfd_swmr_indep_rw_writer.c
index 3aa8a2e..9f7fda7 100644
--- a/test/vfd_swmr_indep_rw_writer.c
+++ b/test/vfd_swmr_indep_rw_writer.c
@@ -616,6 +616,7 @@ main(int argc, char **argv)
TEST_ERROR;
}
+ /* The first process writes a dataset in the first file and then reads a dataset from the second file.*/
if (s.first_proc) {
writer = true;
@@ -685,6 +686,9 @@ main(int argc, char **argv)
}
else {
+ /* The second process reads the dataset of the first file generated by the first process,
+ * then writes a dataset in the second file for the first process to read.
+ */
writer = false;
if (false == indep_init_vfd_swmr_config_plist(&s, writer, "./file1-shadow")) {
HDfprintf(stderr, "Reader: Cannot initialize file property lists for file %s\n", s.filename[0]);