Please have Rust installed (via RustUp) and a working IDE/editor setup.
- Introduction
- System Threads: Overview
- Create Your First Thread
- Spawning Threads with Parameters and Closures
- Returning Data from Threads
- Dividing Workloads
- The ThreadBuilder Pattern
- Let's take a break
- Scoped Threads for Easy Local Data Sharing
- Sharing Data with Atomics
- Sharing Data with Mutexes
- Read/Write Locks
- Deadlocks, Panics and Poisoning
- Sharing Data with Lock-Free Structures
- Parking Threads
- Let's take a break
- Sending Data Between Threads with Channels
- Channels and Ownership
- Sending Functions to Worker Threads
- Let's build a work queue with a thread pool
- Thread CPU/Core Affinity
- Thread Priority
- Let's take a break
- Making it Easy with Rayon
- Scopes and Pooled Threads with Rayon
- Wrap-Up & QA
- Next week... green threads and Tokio