PriorityQueue - Rust #004 - Blocking Dequeue

This video is in French.

In this video, we continue building our concurrent Priority Queue. This time we add a blocking version of the dequeue() method and handle controlled shutdown with shutdown_immediate().

Topics covered

An important step before introducing graceful shutdowns and timeouts 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