#rust #threads #mutex
Instead of passing messages to and from threads, you can also have multiple threads access shared data. Shared memory concurrency is like multiple ownership.
Links
Chapter 16 Section 3
https://doc.rust-lang.org/book/ch16-03-shared-state.html