协程 coroutine

 

参考链接:

http://manual.luaer.cn/2.11.html

http://www.cnblogs.com/riceball/archive/2008/01/03/1025158.html

http://blog.codingnow.com/2012/07/c_coroutine.html

https://github.com/cloudwu/coroutine

 

要用协程实现所谓的异步(用户态并发),关键就要看协程的调度算法了,调度得好就会有异步的感觉。

有点意思

 

你可能感兴趣的:(协程 coroutine)