// the find
dabeaz/thredo
Thredo was an experiment - It's dead. Feel free to look around.
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.