summaryrefslogtreecommitdiffstats
path: root/src/H5FDcore.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-12-20 15:06:36 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-12-20 15:06:36 (GMT)
commit4ae42f7f15837b1496ce001d7ac9c42e73893cd9 (patch)
treea2f6e3108adfb382b0645ccf0e7780442aa1da8e /src/H5FDcore.c
parentccb5c0ad844df72d0bd6d81431db21988604f483 (diff)
downloadhdf5-4ae42f7f15837b1496ce001d7ac9c42e73893cd9.zip
hdf5-4ae42f7f15837b1496ce001d7ac9c42e73893cd9.tar.gz
hdf5-4ae42f7f15837b1496ce001d7ac9c42e73893cd9.tar.bz2
[svn-r1915] Purpose:
Bug fix. Description: When only p0 will write for allsame metadata, other processes returns with SUCCEED immediately. In some racing conditions, the other processes may start reading the metadata before p0 has finished writing them out. That results in errors. (I verified by putting an intentional delay in the p0 code. Other processes then got read errors always.) Solution: When only-p0-writes is the case, p0 will Bcast the result to other processes. This provides both a synchoronization and more valid logic since the other processes will return FAIL too IF p0 write fails. Also fixed a typo of the H5F_MPIO_DEBUG_KEY name. Also removed the incorrect #define's of FALSE and TRUE. They are already defined in H5private.h.
Diffstat (limited to 'src/H5FDcore.c')
0 files changed, 0 insertions, 0 deletions