#include <task.h>
Data Fields | |
char * | stack |
char * | stacktop |
int | stacksize |
int | priority |
int | status |
unsigned | misc |
unsigned | TimeStamp |
unsigned | TcbSwaps |
int | timeout |
char * | name |
TCB * | next |
TCB * | list |
Definition at line 53 of file task.h.
char* tcb::stack |
points to current position in stack
Definition at line 54 of file task.h.
Referenced by CreateTask().
char* tcb::stacktop |
int tcb::stacksize |
int tcb::priority |
int tcb::status |
task status, set by semaphore mostly
Definition at line 58 of file task.h.
Referenced by BQget(), BQPut(), DeleteSemaphore(), PendSemaphore(), PostSemaphore(), PostSemaphoreIrq(), PostSemaphoreWithData(), and TimerTicker().
unsigned tcb::misc |
unsigned tcb::TimeStamp |
system time stamp, set when swapped
Definition at line 60 of file task.h.
Referenced by BQget(), CreateTask(), ExitInterrupt(), PendSemaphore(), and Yeild().
unsigned tcb::TcbSwaps |
int tcb::timeout |
timeout counter to trigger event
Definition at line 62 of file task.h.
Referenced by PendSemaphore(), and TimerTicker().
char* tcb::name |
Definition at line 64 of file task.h.
Referenced by CreateTask(), DeleteSemaphore(), PendSemaphore(), PostSemaphore(), PostSemaphoreIrq(), PostSemaphoreWithData(), and TimerTicker().