diff --git a/src/api/functions.jl b/src/api/functions.jl index 75fe5806..3404ffdf 100644 --- a/src/api/functions.jl +++ b/src/api/functions.jl @@ -353,12 +353,12 @@ end See `libhdf5` documentation for [`H5Aiterate2`](https://docs.hdfgroup.org/hdf5/v1_14/group___h5_a.html#ga9315a22b60468b6e996559b1b8a77251). """ function h5a_iterate(obj_id, idx_type, order, n, op, op_data) - lock(liblock) - var"#status#" = try + # lock(liblock) + var"#status#" = #try ccall((:H5Aiterate2, libhdf5), herr_t, (hid_t, Cint, Cint, Ptr{hsize_t}, Ptr{Cvoid}, Any), obj_id, idx_type, order, n, op, op_data) - finally - unlock(liblock) - end + #finally + # unlock(liblock) + #end # @show var"#status#" var"#status#" < herr_t(0) && @h5error(string("Error iterating attributes in object ", h5i_get_name(obj_id))) return nothing