简单总结一下: 不要 detach scope 嵌套就表示了 task 的 lifetime 具体的名词解释见 reference 的连接 reference libdill doc https://www.bluepuni.com/archives/structured-concurrency-and-cpp-coroutine/