VFD SWMR sparse readers failed to open the .h5 file because the sparse writer

had finished its work and closed the .h5 file, thus removing the shadow file.
Make the sparse writer wait to close the .h5 file for a signal from
testvfdswmr.sh.  In testvfdswmr.sh, send the signal when the readers have all
finished.
This commit is contained in:
David Young
2019-10-23 10:47:14 -05:00
parent e84a416ad8
commit 0ea6e75d9f
2 changed files with 49 additions and 1 deletions

View File

@@ -464,7 +464,9 @@ fi
$IFDEBUG ps
# Wait for the readers and the writer to finish.
wait
wait $pid_readers
kill -USR1 $pid_writer
wait $pid_writer
# Collect exit codes of the readers
n=0