HDF5: Minor fixes to supress errors and use common mutex for reading and writing
This commit is contained in:
@@ -869,7 +869,10 @@ std::string HDF5Object::GetString(const std::string &name, const std::string &de
|
||||
}
|
||||
|
||||
bool HDF5Object::Exists(const std::string &name) const {
|
||||
return H5Lexists(GetID(), name.c_str(), H5P_DEFAULT) > 0;
|
||||
H5E_BEGIN_TRY {
|
||||
return H5Lexists(GetID(), name.c_str(), H5P_DEFAULT) > 0;
|
||||
} H5E_END_TRY;
|
||||
return false;
|
||||
}
|
||||
|
||||
herr_t func(hid_t group, const char *name, const H5L_info2_t *info, void *op_data) {
|
||||
|
||||
Reference in New Issue
Block a user