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

Use of SRW across process boundary is invalid #1

Closed
elast0ny opened this issue Apr 19, 2018 · 1 comment
Closed

Use of SRW across process boundary is invalid #1

elast0ny opened this issue Apr 19, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@elast0ny
Copy link
Owner

As pointed oit by Glandium : https://www.reddit.com/r/rust/comments/8dacce/shared_memory_wrapper_for_rust/dxlt5tj

Slim RW locks in Windows are actualy just pointers that also rely on per-process data (which cannot be shared through the shared memory).

Until this is fixed, mem_file on Windows doesn't implement locking properly.

@elast0ny elast0ny added the bug Something isn't working label Apr 19, 2018
@elast0ny
Copy link
Owner Author

Removed the use of SRW locks. Will start implementing other types of locking...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant