Rust 101 - 25: Threads, Mutexes, channels, Send and Sync
May 16, 2024 [Programming, Rust, Tech, Videos]How to spawn threads and deal with lifetimes, how to send or share state across threads, and what Send and Sync mean.
Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Async, Unsafe, FFI
This section (Concurrency and parallelism): 24: Parallelism, 25: Threads, 26: Exercise C1, 27: Exercise C2
Links:
- Slides: Rust 101 - module C
- Exercises: artificialworlds.net/presentations/rust-101/exercises/C-concurrency-parallelism/mod.html
The course materials for this series are developed by tweede golf. You can find more information at github.com/tweedegolf/101-rs and you can sponsor the work at github.com/sponsors/tweedegolf. They are released under the Creative Commons Attribution Share Alike 4.0 International license.
This series of videos is copyright 2024 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.