Get the latest tech news

Futurelock: A subtle risk in async Rust


This RFD describes futurelock: a type of deadlock where a resource owned by Future A is required for another Future B to proceed, while the Task responsible for both Futures is no longer polling A. Futurelock is a particularly subtle risk in writing asynchronous Rust.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Async Rust

Async Rust

Photo of subtle risk

subtle risk

Related news:

News photo

Cancellations in async Rust

News photo

A Visual Journey Through Async Rust

News photo

Why I'm writing a Scheme implementation in 2025: Async Rust