Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examine error handling per thread #1143

Open
mkitti opened this issue Mar 14, 2024 · 0 comments
Open

Examine error handling per thread #1143

mkitti opened this issue Mar 14, 2024 · 0 comments

Comments

@mkitti
Copy link
Member

mkitti commented Mar 14, 2024

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 in HDF5.API.__init__()
https://github.com/JuliaIO/HDF5.jl/blob/91ef2841dcc5ddd52ef3094120b8921e0c1c5749/src/api/api.jl#L92C1-L93C1

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant