Tizen RT Libs&Environment  v1.1 D4
task_tcb_s Struct Reference

This is the particular form of the task control block (TCB) structure used by tasks (and kernel threads). There are two TCB forms: one for pthreads and one for tasks. Both share the common TCB fields (which must appear at the top of the structure) plus additional fields unique to tasks and threads. Having separate structures for tasks and pthreads adds some complexity, but saves memory in that it prevents pthreads from being burdened with the overhead required for tasks (and vice versa). More...

#include <sched.h>

Collaboration diagram for task_tcb_s:

Data Fields

struct tcb_s cmn
 
starthook_t starthook
 
FAR void * starthookarg
 
uint8_t init_priority
 
FAR char ** argv
 

Detailed Description

This is the particular form of the task control block (TCB) structure used by tasks (and kernel threads). There are two TCB forms: one for pthreads and one for tasks. Both share the common TCB fields (which must appear at the top of the structure) plus additional fields unique to tasks and threads. Having separate structures for tasks and pthreads adds some complexity, but saves memory in that it prevents pthreads from being burdened with the overhead required for tasks (and vice versa).

Definition at line 593 of file sched.h.

Field Documentation

◆ argv

FAR char** argv

Definition at line 608 of file sched.h.

◆ cmn

struct tcb_s cmn

Definition at line 596 of file sched.h.

◆ init_priority

uint8_t init_priority

Definition at line 607 of file sched.h.

◆ starthook

starthook_t starthook

Definition at line 601 of file sched.h.

◆ starthookarg

FAR void* starthookarg

Definition at line 602 of file sched.h.


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