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

Migrate from posix_ipc to built-in shared_memory for Python 3.8+ #71

Open
leofang opened this issue Jan 28, 2020 · 1 comment
Open

Migrate from posix_ipc to built-in shared_memory for Python 3.8+ #71

leofang opened this issue Jan 28, 2020 · 1 comment
Milestone

Comments

@leofang
Copy link
Contributor

leofang commented Jan 28, 2020

multiprocessing.shared_memory is a new module added in Python 3.8.0:
https://docs.python.org/3.8/library/multiprocessing.shared_memory.html
It was heavily influenced by the design of posix_ipc, but the proposed migration allows officially maintained, and more importantly cross-platform, support. This is particularly important on Windows, since posix_ipc is unix-only.

@leofang
Copy link
Contributor Author

leofang commented Jan 28, 2020

(Speaking of Windows, note that there is an MS-MPI, also supported by mpi4py. In principle it could work with our software, but I have no resource to verify this, nor is it supported on conda-forge.)

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