Jinlong's Blog

副业造轮子


  • 首页

  • 文章

  • 随笔

  • 关于
Jinlong's Blog

一个C实现的简洁版coroutine

发表于 2018-03-11

云风大佬写的轻量级coroutine。好简洁啊…
底层实现的系统API为:

  • getcontext()
  • makecontext()
  • swapcontext()

coroutine written by cloudwu

Reference:
getcontext man page
makecontext and swapcontext man page

虚拟内存以及分页原理
开发效率的问题
李金隆

李金隆

18 日志
19 随笔
知乎 E-mail
© 2018 李金隆
由 Hexo 强力驱动
主题 - NexT.Pisces