Open mkitti opened 4 months ago
Apparently, H5Eset_auto is only effective on a per-thread basis.
H5Eset_auto
https://forum.hdfgroup.org/t/h5eset-auto-for-all-threads/1501/2
H5Eset_auto is called by us here in HDF5.API.__init__() https://github.com/JuliaIO/HDF5.jl/blob/91ef2841dcc5ddd52ef3094120b8921e0c1c5749/src/api/api.jl#L92C1-L93C1
HDF5.API.__init__()
We could simply iterate through existing normal threads and set this for all threads.
For interactive threads, we might keep some kind of global structure tracking threadid and whether this has been triggered.
threadid
Apparently,
H5Eset_auto
is only effective on a per-thread basis.https://forum.hdfgroup.org/t/h5eset-auto-for-all-threads/1501/2
H5Eset_auto
is called by us here inHDF5.API.__init__()
https://github.com/JuliaIO/HDF5.jl/blob/91ef2841dcc5ddd52ef3094120b8921e0c1c5749/src/api/api.jl#L92C1-L93C1We could simply iterate through existing normal threads and set this for all threads.
For interactive threads, we might keep some kind of global structure tracking
threadid
and whether this has been triggered.