Tizen RT Libs&Environment
v1.0 D5
|
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>
Data Fields | |
struct tcb_s | cmn |
starthook_t | starthook |
FAR void * | starthookarg |
uint8_t | init_priority |
FAR char ** | argv |
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).
starthook_t starthook |