diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-09-05 20:23:02 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-09-05 20:23:02 (GMT) |
commit | c12eeffd9ffbb4547607800daea873508f2c1f00 (patch) | |
tree | cc9a48a131a9a932c551cbc6b9d116f8be12bb79 /windows/install_cppdll.BAT | |
parent | 1fa5f8bccbbb181069de79de7eae2d9fbca8a34f (diff) | |
download | hdf5-c12eeffd9ffbb4547607800daea873508f2c1f00.zip hdf5-c12eeffd9ffbb4547607800daea873508f2c1f00.tar.gz hdf5-c12eeffd9ffbb4547607800daea873508f2c1f00.tar.bz2 |
[svn-r11349] Purpose:
Bug fix.
Description:
Some tests showed the filesize was not as expected. But the error was
intermittent. This was a racing condition as some processes finish
extend_chunked_dataset() sooner than others and return to the main
body which proceeds to call the next test which also uses the same
test data file and alters it. That messes up the "slower" processes
which then see unexpected filesize.
Also, the routine create_chunked_dataset() which creates test data file
actually was executed by all processes. That is wrong.
Solution:
Added a barrier at the end of extend_chunked_dataset to make sure all
processes are done with the test data file before returning.
Changed create_chunked_dataset such that only one process would create
the test data file. The rest does nothing but just wait for it to finish.
Platforms tested:
Tested in TG-NCSA in which the errors were detected.
Misc. update:
Diffstat (limited to 'windows/install_cppdll.BAT')
0 files changed, 0 insertions, 0 deletions