finds.dev

dabeaz/thredo

Thredo was an experiment - It's dead. Feel free to look around.

View on GitHub

★ 337PythonMITupdated Feb 2020

// the take

Thredo was David Beazley's experiment in running real OS threads on top of an async event loop (Curio), giving threads cancellation and grouping semantics that the standard library can't provide. It's explicitly dead — abandoned in 2020, requires a pinned dev version of Curio, and the author says so in the first line of the README. For reading purposes only.

The core idea is genuinely interesting: redirecting blocking syscalls through an async scheduler gives you cooperative cancellation at blocking points without rewriting thread code as coroutines. ThreadGroup with cancellation semantics is cleaner than anything concurrent.futures offers. The EuroPython talk and examples directory make the thinking easy to follow. Beazley's code is always readable.

Dead. Not 'unmaintained' — the README literally says 'Thredo is Dead'. Depends on an unpinned dev branch of Curio, which is itself minimally maintained. No PyPI package, no Python 3.8+ compatibility verified, last commit is 2020. Anyone who tries to actually run this today will spend more time fighting dependency rot than learning anything.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
337
Forks
17
Language
Python
License
MIT
Last commit
20 Feb 2020

// nearby

If thredo isn't quite it.

All repos →