Y
Hacker News
new
|
ask
|
show
|
jobs
by
geon
715 days ago
This can be used to implement coroutines in C.
https://stackoverflow.com/questions/24202890/switch-based-co...
1 comments
emmericp
715 days ago
uIP (TCP/IP stack for tiny microcontrollers) is a another fun real-world example for these types of coroutines:
https://github.com/adamdunkels/uip/blob/master/uip/lc-switch...
link