lc-addrlabels.h File Reference

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

Go to the source code of this file.

Typedefs

typedef void * lc_t
 The local continuation type.

Detailed Description

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

Author:
Adam Dunkels <adam@sics.se>

This implementation of local continuations is based on a special feature of the GCC C compiler called "labels as values". This feature allows assigning pointers with the address of the code corresponding to a particular C label.

For more information, see the GCC documentation: http://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html

Thanks to dividuum for finding the nice local scope label implementation.

Definition in file lc-addrlabels.h.


Generated on Mon Apr 11 14:23:47 2011 for Contiki 2.5 by  doxygen 1.6.1