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

Plans for Sync tendrils? #53

Open
jneem opened this issue Jun 12, 2021 · 3 comments
Open

Plans for Sync tendrils? #53

jneem opened this issue Jun 12, 2021 · 3 comments

Comments

@jneem
Copy link

jneem commented Jun 12, 2021

The README says

The Rust type system will prevent you at compile time from sending a tendril between threads. (See below for thoughts on relaxing this restriction.)

...but I don't see any thoughts below it.

@SimonSapin
Copy link
Member

"sending between threads" refers to Send, not Sync.

Send is implemented when atomic reference counting is enabled: https://docs.rs/tendril/0.4.2/tendril/struct.Tendril.html#impl-Send

@jneem
Copy link
Author

jneem commented Jun 13, 2021

Got it. So it sounds like just README and the API docs are just out of date? I'm happy to send a docs PR if that's the case.

@b7-7b
Copy link

b7-7b commented Jul 6, 2022

Over a year later this documentation issue is still a thing, so I made a PR.

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 a pull request may close this issue.

3 participants