MENU

Fun & Interesting

Rust: Shared-State Concurrency

The Dev Method 16,073 lượt xem 2 years ago
Video Not Working? Fix It Now

#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

Comment