NUTTHREADINFO Struct Reference
[Thread Management]

Thread information structure. More...


Data Fields

NUTTHREADINFO * td_next
 Linked list of all threads.
NUTTHREADINFO * td_qnxt
 Linked list of all queued thread.
volatile unsigned int td_qpec
 Pending event counter.
char td_name [9]
 Name of this thread.
uint8_t td_state
 Operating state. One of TDS_.
uintptr_t td_sp
 Stack pointer.
uint8_t td_priority
 Priority level. 0 is highest priority.
uint8_ttd_memory
 Pointer to heap memory used for stack.
HANDLE td_timer
 Event timer.
volatile HANDLE td_queue
 Root entry of the waiting queue.


Detailed Description

Thread information structure.

Todo:
Sort items while considering alignment.

Thread information structure type.

Definition at line 172 of file thread.h.


Field Documentation

NUTTHREADINFO* NUTTHREADINFO::td_next

Linked list of all threads.

Definition at line 173 of file thread.h.

NUTTHREADINFO* NUTTHREADINFO::td_qnxt

Linked list of all queued thread.

Definition at line 174 of file thread.h.

volatile unsigned int NUTTHREADINFO::td_qpec

Pending event counter.

Definition at line 175 of file thread.h.

char NUTTHREADINFO::td_name[9]

Name of this thread.

Definition at line 176 of file thread.h.

uint8_t NUTTHREADINFO::td_state

Operating state. One of TDS_.

Definition at line 177 of file thread.h.

uintptr_t NUTTHREADINFO::td_sp

Stack pointer.

Definition at line 178 of file thread.h.

uint8_t NUTTHREADINFO::td_priority

Priority level. 0 is highest priority.

Definition at line 179 of file thread.h.

uint8_t* NUTTHREADINFO::td_memory

Pointer to heap memory used for stack.

Definition at line 180 of file thread.h.

HANDLE NUTTHREADINFO::td_timer

Event timer.

Definition at line 181 of file thread.h.

volatile HANDLE NUTTHREADINFO::td_queue

Root entry of the waiting queue.

Definition at line 182 of file thread.h.


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

© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/