从 setjmp 到 coroutine
一个 coroutine 的库: https://github.com/alibaba/PhotonLibOS
ucontext 和 coroutine 是一个东西吗?
这个和 coroutine 有什么区别吗?
https://brennan.io/2020/05/24/userspace-cooperative-multitasking/ : c setjmp longjmp 实现 multitasking
coroutine
https://www.alibabacloud.com/blog/coroutine-made-dpdk-dev-easy_599986
阅读材料
https://aosabook.org/en/500L/a-web-crawler-with-asyncio-coroutines.html
这个有意思,的确 qemu 中喜欢使用 thread pool 的: C++20 新特性 协程 Coroutines
C++20: Building a Thread-Pool With Coroutines
本站所有文章转发 CSDN 将按侵权追究法律责任,其它情况随意。