Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 Wed Jul 13 2022 11:59:11 by
1.7.2