Discussion about this post

User's avatar
Rust Bytes's avatar

This is a very good writeup on Send and Sync, we'd love to include it in the upcoming issue of our newsletter!

Expand full comment
cauldron's avatar

This was fun and very useful, thank you. I will likely re-read it in a few days.

Just one question: An `Arc<Mutex<T>>` allows us to modify the data `T` safely, from multiple threads, right? So besides the "safe shared-state of Arc" there is the data-modification-safety. Plus, we retain ownership of `T` in the main thread I think.

Expand full comment
13 more comments...

No posts