3 ms·
My own implementation of coroutines for C [1] requires each coroutine to have its own stack. It simplifies things quite a bit. [1] https://github.com/spc476/C
by spc476 9y ago
My own implementation of coroutines for C [1] requires each coroutine to have its own stack. It simplifies things quite a bit.
[1] https://github.com/spc476/C-Coroutines https://github.com/spc476/C-Coroutines [2]
[2] More of a "proof-of-concept" than something really meant for production.