-
Notifications
You must be signed in to change notification settings - Fork 68
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
ImageStack multiprocessing problematic on Windows #834
Comments
Closed
This was referenced Sep 9, 2019
ttung
pushed a commit
that referenced
this issue
Sep 10, 2019
Instead of reaching into the private _data field, use the xarray property. Test plan: `pytest -v -n8 --ff starfish/core/image/Filter/test` Part of #834
ttung
pushed a commit
that referenced
this issue
Sep 13, 2019
Instead of reaching into the private _data field, use the xarray property. Test plan: `pytest -v -n8 --ff starfish/core/image/Filter/test` Part of #834
ttung
pushed a commit
that referenced
this issue
Sep 18, 2019
Shared state is fundamentally incompatible with multithreading. 1. Each tile computes its own threshold. 2. Don't share the spot coords. Part of #834
ttung
pushed a commit
that referenced
this issue
Sep 18, 2019
ttung
pushed a commit
that referenced
this issue
Sep 18, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Windows, multiprocessing is accomplished through
CreateProcess
, which is more like an exec. If thefunc
method of ImageStack depends on any in-process state (i.e., state that is accessible through globals instead of values serialized across the process boundary), then it will not be present in child processes. See https://bugs.python.org/issue8713 for more details.Possible solutions:
The text was updated successfully, but these errors were encountered: