Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
geon
· 2y ago · 0 comments
This can be used to implement coroutines in C.
https://stackoverflow.com/questions/24202890/switch-based-co...
Comments
[–]
emmericp
2y 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...