/home/midibox/svn_snapshot/mios32/trunk/modules/uip/uip/pt.h File Reference

#include "lc.h"

Data Structures

struct  pt

Defines

#define PT_WAITING   0
#define PT_EXITED   1
#define PT_ENDED   2
#define PT_YIELDED   3
Initialization



#define PT_INIT(pt)
Declaration and definition



#define PT_THREAD(name_args)
#define PT_BEGIN(pt)
#define PT_END(pt)
Blocked wait



#define PT_WAIT_UNTIL(pt, condition)
#define PT_WAIT_WHILE(pt, cond)
Hierarchical protothreads



#define PT_WAIT_THREAD(pt, thread)
#define PT_SPAWN(pt, child, thread)
Exiting and restarting



#define PT_RESTART(pt)
#define PT_EXIT(pt)
Calling a protothread



#define PT_SCHEDULE(f)
Yielding from a protothread



#define PT_YIELD(pt)
#define PT_YIELD_UNTIL(pt, cond)
 Yield from the protothread until a condition occurs.

Detailed Description

Protothreads implementation.

Author:
Adam Dunkels <adam@sics.se>

Generated on 22 Jan 2016 for MIDIboxNG by  doxygen 1.6.1