Local continuations form the basis for implementing protothreads. A local continuation can be set in a specific function to capture the state of the function. After a local continuation has been set can be resumed in order to restore the state of the function at the point where the local continuation was set.
Files | |
file | lc-addrlabels.h |
Implementation of local continuations based on GCC's feature "Labels as values". | |
file | lc.h |
Local continuations. |