Skip to content

Conversation

@laizy
Copy link
Contributor

@laizy laizy commented Nov 8, 2019

without Sync constraint, interior mutability data T can be modified concurrently by multiple threads using RwLock.read().await

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good catch, thank you!

@ghost ghost merged commit fb19ebd into async-rs:master Nov 8, 2019
This pull request was closed.
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 this pull request may close these issues.

1 participant