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

Add named map support #2

Closed

Conversation

overdrivenpotato
Copy link

This should make it possible to share maps between processes. On POSIX systems, the shared memory segment is unlinked when the first map is dropped, maybe there could be a way of keeping track of how many maps are open?

@danburkert
Copy link
Owner

Sorry for the long stagnation on this, I wanted to let you know I'm still thinking about the best way to get this merged. Having shared memory support would be awesome, but my current thinking is that it may be better to have it as it's own type rather than overloading the Mmap type. I admit I don't have a lot of experience with the shared memory APIs, so this intuition may be way off. I'm plan to dig into this more and explore the possibilities.

@dtolnay
Copy link

dtolnay commented Jul 31, 2017

Can this be implemented in a backward compatible way after 1.0 or do we need to be thinking about this now?

@dtolnay dtolnay mentioned this pull request Aug 6, 2017
@danburkert
Copy link
Owner

I think this has bitrotted at this point, and It's never really been clear if shm fits in this crate or not. Accordingly, I'm going to close for now. We can start a new issue/PR in the future if someone wants to champion this.

@danburkert danburkert closed this Aug 17, 2017
andeya referenced this pull request in andeya/mmapio Feb 21, 2021
feat: add support for lock and private on nix based systems
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

Successfully merging this pull request may close these issues.

None yet

3 participants