tcb Struct Reference
[MultitaskingKernel]

Definition of a Task Control Block (TCB). More...

#include <task.h>

Collaboration diagram for tcb:

Collaboration graph
[legend]

Data Fields

char * stack
char * stacktop
int stacksize
int priority
int status
unsigned misc
unsigned TimeStamp
unsigned TcbSwaps
int timeout
char * name
TCBnext
TCBlist

Detailed Description

Definition of a Task Control Block (TCB).

Definition at line 53 of file task.h.


Field Documentation

char* tcb::stack

points to current position in stack

Definition at line 54 of file task.h.

Referenced by CreateTask().

points to the end of the stack

Definition at line 55 of file task.h.

Referenced by CreateTask().

SIZE of the stack in bytes

Definition at line 56 of file task.h.

Referenced by CreateTask().

task priority

Definition at line 57 of file task.h.

Referenced by CreateTask().

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

misc data user defined

Definition at line 59 of file task.h.

Referenced by PostSemaphoreWithData().

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

number of times tasks swapped in

Definition at line 61 of file task.h.

Referenced by CreateTask().

timeout counter to trigger event

Definition at line 62 of file task.h.

Referenced by PendSemaphore(), and TimerTicker().

char* tcb::name

name of task

Definition at line 63 of file task.h.

Referenced by CreateTask().

master linked list of tasks

Definition at line 65 of file task.h.

Referenced by CreateTask().


The documentation for this struct was generated from the following file:

Generated on Sun Aug 31 13:31:36 2008 for FrankenRTOS by  doxygen 1.5.6