摘要: 1 与其它协程库使用对比 这个 C 协程库是云风(cloudwu) 写的,其接口风格与 Lua 协程类似,并且都是非对称 stackful 协程。这个是源代码中的示例: #include "coroutine.h" #include <stdio.h> struct args { int n; }; 阅读全文
posted @ 2022-06-06 19:13 mkckr0 阅读(1288) 评论(0) 推荐(1) 编辑