4 ms·
There are oh so many libraries for that: https://github.com/baruch/libwire/wiki/Other-coroutine-libraries https://github.com/baruch/libwire/wiki/Other-coroutin
by versteegen 11y ago
There are oh so many libraries for that:
https://github.com/baruch/libwire/wiki/Other-coroutine-libraries https://github.com/baruch/libwire/wiki/Other-coroutine-libra...
And if you don't like any of those, my next choice would be to use the implementation from Luajit 1.x and 2.x, called Coco but not packaged into a separate library:
http://coco.luajit.org/portability.html http://coco.luajit.org/portability.html
- jkarneges 11y agoCool! I wasn't aware of those low level libs. Now I should submit a patch to lthread to use fcontext. >:)