uIP 1.0 based webserver for LPC1114 + ENC28J60
lc-switch.h File Reference
Implementation of local continuations based on switch() statment. More...
Go to the source code of this file.
Detailed Description
Implementation of local continuations based on switch() statment.
This implementation of local continuations uses the C switch() statement to resume execution of a function somewhere inside the function's body. The implementation is based on the fact that switch() statements are able to jump directly into the bodies of control structures such as if() or while() statmenets.
This implementation borrows heavily from Simon Tatham's coroutines implementation in C: http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html
Definition in file lc-switch.h.
Generated on Tue Jul 12 2022 12:52:12 by 1.7.2