Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Handle SimpleITK's lack of thread safety #476

Open
bcdarwin opened this issue Jan 16, 2020 · 0 comments
Open

Handle SimpleITK's lack of thread safety #476

bcdarwin opened this issue Jan 16, 2020 · 0 comments

Comments

@bcdarwin
Copy link

E.g., setting num_threads to 8 and using loader = simpleitk to read MINC2 files reliably causes a segfault somewhere in HDF5, while num_threads = 1 is fine.

The easiest thing would be to detect multithreaded SimpleITK usage and print a warning that it might lead to problems, although I'd be happy to be able to actually use this configuration.

I'm willing to implement something, just looking to see what people would want.

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

No branches or pull requests

1 participant