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

Description of primitives without synchronization #184

Open
liushichuan opened this issue Oct 31, 2018 · 3 comments
Open

Description of primitives without synchronization #184

liushichuan opened this issue Oct 31, 2018 · 3 comments

Comments

@liushichuan
Copy link

Missing documentation for multiple data protection between coroutines.

@sustrik
Copy link
Owner

sustrik commented Oct 31, 2018

?

@liushichuan
Copy link
Author

I wanna read/write a struct which maybe large enough between multi coroutine. How can I guarantee the integrity of the struct? Is "channels operation" atomic operation?

@sustrik
Copy link
Owner

sustrik commented Oct 31, 2018

Yes, it's atomic.

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

No branches or pull requests

2 participants