← back
Never miss a thing.
One email per new article, plus upcoming course announcements, nothing else. The full tech-watch news, figures and gifts are reserved for Subscriber Area members.
Discuss this article with your AI
The button copies the article with a short introduction for the model. Paste it all into Claude, ChatGPT, Le Chat or another AI, then ask it your questions.

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

  1. PriorityQueue - Rust #001 · 10-Oct-2025
  2. PriorityQueue - Rust #002 - Fairness · 17-Oct-2025
  3. PriorityQueue - Rust #003 - Multithreading · 26-Oct-2025
  4. PriorityQueue - Rust #004 - Blocking Dequeue · 02-Nov-2025
  5. PriorityQueue - Rust #005 - Graceful Shutdown · 09-Nov-2025
  6. PriorityQueue - Rust #006 - async/await · 16-Nov-2025