sustrik/libmill

Description of primitives without synchronization

liushichuan opened this issue · 3 comments

Missing documentation for multiple data protection between coroutines.

?

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?

Yes, it's atomic.