SikendeRTOS
RTOS for ARM Cortex M3+ SoCs designed and written from scratch
Tcb Struct Reference
Collaboration diagram for Tcb:

Data Fields

INT32Usp
 
struct Tcbnext
 
struct Tcbprev
 
INT32 id
 
INT32 status
 
INT8U priority
 
INT32U sleepState
 
Sema4Typesema4Blocked
 
struct TcbnextBlocked
 
struct TcbnextPriority
 

Detailed Description

Definition at line 48 of file OS.c.

Field Documentation

◆ id

INT32 id

ID number of thread, negative if unused

Definition at line 55 of file OS.c.

◆ next

struct Tcb* next

Pointer to next TCB

Definition at line 52 of file OS.c.

◆ nextBlocked

struct Tcb* nextBlocked

Definition at line 61 of file OS.c.

◆ nextPriority

struct Tcb* nextPriority

Definition at line 62 of file OS.c.

◆ prev

struct Tcb* prev

Definition at line 53 of file OS.c.

◆ priority

INT8U priority

priority of thread, 0-5

Definition at line 57 of file OS.c.

◆ sema4Blocked

Sema4Type* sema4Blocked

blocked state

Definition at line 60 of file OS.c.

◆ sleepState

INT32U sleepState

sleep state

Definition at line 58 of file OS.c.

◆ sp

INT32U* sp

pointer to stack (valid for threads not running

Definition at line 50 of file OS.c.

◆ status

INT32 status

status of thread: -1: unused, 1: used

Definition at line 56 of file OS.c.


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