TizenRT Libs&Environment  v2.0 M2
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 471 of file sched.h.

Field Documentation

FAR void* adj_stack_ptr

Definition at line 527 of file sched.h.

size_t adj_stack_size

Definition at line 522 of file sched.h.

uint8_t base_priority

Definition at line 505 of file sched.h.

FAR struct tcb_s* blink

Definition at line 475 of file sched.h.

int curr_alloc_size

Definition at line 575 of file sched.h.

FAR struct dspace_s* dspace

Definition at line 537 of file sched.h.

entry_t entry

Definition at line 497 of file sched.h.

uint16_t flags

Definition at line 509 of file sched.h.

FAR struct tcb_s* flink

Definition at line 474 of file sched.h.

FAR struct task_group_s* group

Definition at line 480 of file sched.h.

int16_t lockcount

Definition at line 510 of file sched.h.

FAR struct mqueue_inode_s* msgwaitq

Definition at line 558 of file sched.h.

char name[CONFIG_TASK_NAME_SIZE+1]

Definition at line 571 of file sched.h.

int num_alloc_free

Definition at line 577 of file sched.h.

int peak_alloc_size

Definition at line 576 of file sched.h.

pid_t pid

Definition at line 485 of file sched.h.

int pterrno

Definition at line 563 of file sched.h.

uint8_t sched_priority

Definition at line 498 of file sched.h.

sq_queue_t sigactionq

Definition at line 549 of file sched.h.

sq_queue_t sigpendactionq

Definition at line 550 of file sched.h.

sq_queue_t sigpostedq

Definition at line 551 of file sched.h.

sigset_t sigprocmask

Definition at line 547 of file sched.h.

siginfo_t sigunbinfo

Definition at line 552 of file sched.h.

sigset_t sigwaitmask

Definition at line 548 of file sched.h.

FAR void* stack_alloc_ptr

Definition at line 525 of file sched.h.

start_t start

Definition at line 496 of file sched.h.

uint8_t task_state

Definition at line 508 of file sched.h.

int timeslice

Definition at line 516 of file sched.h.

FAR struct wdog_s* waitdog

Definition at line 518 of file sched.h.

sem_t* waitsem

Definition at line 542 of file sched.h.

struct xcptcontext xcp

Definition at line 568 of file sched.h.


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