title: Why don't linux kernel support coroutine inside thread?
body: <p>Most of the modern languages support coroutine for concurrency. They usually refer their coroutine as a light weight thread that you can spawn tens of thousands with only a little footprint. Since "thread is too heavy", why don't linux kernel support coroutine directly inside thread rather than letting the programming languages / VM support it?</p>