Description of primitives without synchronization
liushichuan opened this issue · 3 comments
liushichuan commented
Missing documentation for multiple data protection between coroutines.
sustrik commented
?
liushichuan commented
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 commented
Yes, it's atomic.