Zigbee Protocol Controller 1.6.0
|
#include "sys/lc.h"
Go to the source code of this file.
Classes | |
struct | pt |
Macros | |
#define | PT_WAITING 0 |
#define | PT_YIELDED 1 |
#define | PT_EXITED 2 |
#define | PT_ENDED 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. More... | |
Protothreads implementation.