PriorityQueue - Rust #003 - Multithreading

This video is in French.

In this video, we get into the heart of the matter: concurrency.

We start by reorganizing the project as a Cargo workspace to structure the code, then discover how Rust approaches memory safety in a multithreaded context.

Topics covered

A key step before tackling async (Tokio, async-std) in the next video.

Useful links

Source code: github.com/xigh/pq-async-rs

PriorityQueue in Rust -- video series

  1. PriorityQueue - Rust #001
  2. PriorityQueue - Rust #002 - Fairness
  3. PriorityQueue - Rust #003 - Multithreading
  4. PriorityQueue - Rust #004 - Blocking Dequeue
  5. PriorityQueue - Rust #005 - Graceful Shutdown
  6. PriorityQueue - Rust #006 - async/await