Coroutines can be used standalonish?
Globik opened this issue · comments
I'm wondering if lwan's coroutines can work standalone from lwan server? Let's say as a library? Can be compiled on his own or it's impossible without the lwan's whole stuff?
They can if you respect the license and make some minor changes.
Their dependencies are ucontext, lwan's data structures and stdlib.
Hi @dakerfp I apreciate your answer.
I'll try to compile a small programm using lwan lib. So far I'm just studying the C language. Just couriose about if I can bind the libuv instance with lwan's coroutines. Just because here there are real life practical use cases from lwan's source code I mean "coroutines".
Closing issue as the question has been answered. Feel free to reopen if that's not the case.
How to coroutinify callbacks??