We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems to me that it is safe to implement Sync for Receiver and Sender because the recv and send methods require &mut which implies at most one reader and writer as https://docs.rs/shmem-ipc/latest/shmem_ipc/sharedring/struct.Sender.html#safety required.
recv
send
&mut
The text was updated successfully, but these errors were encountered:
3db5cfe
Hi and thanks for the suggestion. I quickly wrote a patch, can you see if this fixes things for you and if not, please reopen. Thanks!
Sorry, something went wrong.
Thank you! I'll try it out in https://github.com/dovahcrow/shaman, which is based on this excellent work.
No branches or pull requests
It seems to me that it is safe to implement Sync for Receiver and Sender because the
recv
andsend
methods require&mut
which implies at most one reader and writer as https://docs.rs/shmem-ipc/latest/shmem_ipc/sharedring/struct.Sender.html#safety required.The text was updated successfully, but these errors were encountered: