Tizen RT Libs&Environment  v1.0 D5
tcb_s Struct Reference

This is the common part of the task control block (TCB). The TCB is the heart of the TinyAra task-control logic. Each task or thread is represented by a TCB that includes these common definitions. More...

#include <sched.h>

Collaboration diagram for tcb_s:

Data Fields

FAR struct tcb_sflink
 
FAR struct tcb_sblink
 
FAR struct task_group_sgroup
 
pid_t pid
 
start_t start
 
entry_t entry
 
uint8_t sched_priority
 
uint8_t base_priority
 
uint8_t task_state
 
uint16_t flags
 
int16_t lockcount
 
int timeslice
 
FAR struct wdog_s * waitdog
 
size_t adj_stack_size
 
FAR void * stack_alloc_ptr
 
FAR void * adj_stack_ptr
 
FAR struct dspace_sdspace
 
sem_twaitsem
 
sigset_t sigprocmask
 
sigset_t sigwaitmask
 
sq_queue_t sigactionq
 
sq_queue_t sigpendactionq
 
sq_queue_t sigpostedq
 
siginfo_t sigunbinfo
 
FAR struct mqueue_inode_s * msgwaitq
 
int pterrno
 
struct xcptcontext xcp
 
char name [CONFIG_TASK_NAME_SIZE+1]
 
int curr_alloc_size
 
int peak_alloc_size
 
int num_alloc_free
 

Detailed Description

This is the common part of the task control block (TCB). The TCB is the heart of the TinyAra task-control logic. Each task or thread is represented by a TCB that includes these common definitions.

Definition at line 456 of file sched.h.

Field Documentation

FAR void* adj_stack_ptr

Definition at line 509 of file sched.h.

size_t adj_stack_size

Definition at line 504 of file sched.h.

uint8_t base_priority

Definition at line 490 of file sched.h.

FAR struct tcb_s* blink

Definition at line 460 of file sched.h.

int curr_alloc_size

Definition at line 553 of file sched.h.

FAR struct dspace_s* dspace

Definition at line 515 of file sched.h.

entry_t entry

Definition at line 482 of file sched.h.

uint16_t flags

Definition at line 494 of file sched.h.

FAR struct tcb_s* flink

Definition at line 459 of file sched.h.

FAR struct task_group_s* group

Definition at line 465 of file sched.h.

int16_t lockcount

Definition at line 495 of file sched.h.

FAR struct mqueue_inode_s* msgwaitq

Definition at line 536 of file sched.h.

char name[CONFIG_TASK_NAME_SIZE+1]

Definition at line 549 of file sched.h.

int num_alloc_free

Definition at line 555 of file sched.h.

int peak_alloc_size

Definition at line 554 of file sched.h.

pid_t pid

Definition at line 470 of file sched.h.

int pterrno

Definition at line 541 of file sched.h.

uint8_t sched_priority

Definition at line 483 of file sched.h.

sq_queue_t sigactionq

Definition at line 527 of file sched.h.

sq_queue_t sigpendactionq

Definition at line 528 of file sched.h.

sq_queue_t sigpostedq

Definition at line 529 of file sched.h.

sigset_t sigprocmask

Definition at line 525 of file sched.h.

siginfo_t sigunbinfo

Definition at line 530 of file sched.h.

sigset_t sigwaitmask

Definition at line 526 of file sched.h.

FAR void* stack_alloc_ptr

Definition at line 507 of file sched.h.

start_t start

Definition at line 481 of file sched.h.

uint8_t task_state

Definition at line 493 of file sched.h.

int timeslice

Definition at line 498 of file sched.h.

FAR struct wdog_s* waitdog

Definition at line 500 of file sched.h.

sem_t* waitsem

Definition at line 520 of file sched.h.

struct xcptcontext xcp

Definition at line 546 of file sched.h.


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