Skip to content
New issue

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

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

Already on GitHub? # to your account

RFE: allow mapping from a win32 mapping object #138

Open
elmarco opened this issue Jan 14, 2025 · 0 comments
Open

RFE: allow mapping from a win32 mapping object #138

elmarco opened this issue Jan 14, 2025 · 0 comments

Comments

@elmarco
Copy link

elmarco commented Jan 14, 2025

In my use case, the process is handed over a duplicated handle of the mapping object. I would need memmap2 to allow mapping from it directly (since I don't see a way to make a file handle from the mapping object).

One way would be to make an enum of MmapRawDescriptor on win32, and add a constructor for mapping object.

Any other idea?
Thanks

elmarco added a commit to elmarco/memmap2-rs that referenced this issue Jan 14, 2025
See:
RazrFalcon#138

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant