typedef struct t_rtsk {
STAT tskstat; /*Current state*/
PRI tskpri; /*Current priority*/
PRI tskbpri; /*Reserved for future use*/
STAT tskwait; /*Reason for waiting*/
ID wobjid; /*Object ID number for which the task is waiting*/
TMO lefttmo; /*Remaining time until timeout*/
UINT actcnt; /*Activation request count*/
UINT wupcnt; /*Wakeup request count*/
UINT suscnt; /*Suspension count*/
ATR tskatr; /*Attribute*/
PRI itskpri; /*Initial priority*/
ID memid; /*Reserved for future use*/
} T_RTSK;
|