Xenomai API  2.6.5
xnthread_info Struct Reference

Structure containing thread information. More...

Data Fields

unsigned long state
 Thread state,. More...
 
int bprio
 Base priority. More...
 
int cprio
 Current priority. More...
 
int cpu
 CPU the thread currently runs on. More...
 
unsigned long affinity
 Thread's CPU affinity. More...
 
unsigned long long relpoint
 Time of next release. More...
 
unsigned long long exectime
 Execution time in primary mode in nanoseconds. More...
 
unsigned long modeswitches
 Number of primary->secondary mode switches. More...
 
unsigned long ctxswitches
 Number of context switches. More...
 
unsigned long pagefaults
 Number of triggered page faults. More...
 
char name [XNOBJECT_NAME_LEN]
 Symbolic name assigned at creation. More...
 

Detailed Description

Structure containing thread information.

Field Documentation

unsigned long xnthread_info::affinity

Thread's CPU affinity.

int xnthread_info::bprio

Base priority.

int xnthread_info::cprio

Current priority.

May change through Priority Inheritance.

int xnthread_info::cpu

CPU the thread currently runs on.

unsigned long xnthread_info::ctxswitches

Number of context switches.

unsigned long long xnthread_info::exectime

Execution time in primary mode in nanoseconds.

unsigned long xnthread_info::modeswitches

Number of primary->secondary mode switches.

char xnthread_info::name[XNOBJECT_NAME_LEN]

Symbolic name assigned at creation.

unsigned long xnthread_info::pagefaults

Number of triggered page faults.

unsigned long long xnthread_info::relpoint

Time of next release.

unsigned long xnthread_info::state

Thread state,.

See also
Thread state flags.

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