uIP 1.0 based webserver for LPC1114 + ENC28J60

Dependencies:   mbed TMP102

Embed: (wiki syntax)

« Back to documentation index

Local continuations

Local continuations
[Pt]

Local continuations form the basis for implementing protothreads. More...

Files

file  lc-addrlabels.h
 

Implementation of local continuations based on the "Labels as values" feature of gcc.


file  lc-switch.h
 

Implementation of local continuations based on switch() statment.


file  lc.h
 

Local continuations.


Typedefs

typedef void * lc_t
 The local continuation type.

Detailed Description

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.


Typedef Documentation

typedef lc_t

The local continuation type.

Definition at line 64 of file lc-addrlabels.h.