Skip to content

Send trait and thread safety question #3477

Answered by mejrs
inikolaev asked this question in Questions
Discussion options

You must be logged in to vote

This is your type, right? You can use Arc instead of Rc.

I feel like using unsafe as I do now is not the right way to do this

Yeah, your approach is completely wrong. Do not do this.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@inikolaev
Comment options

@mejrs
Comment options

@inikolaev
Comment options

@mejrs
Comment options

@inikolaev
Comment options

Answer selected by inikolaev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants