Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

_NUTTHREADINFO Struct Reference
[Thread ManagementThread Management]

Thread information structure. More...


Data Fields

NUTTHREADINFO *volatile td_next
 Linked list of all threads.

NUTTHREADINFOtd_qnxt
 Linked list of all queued thread.

u_char td_name [9]
 Name of this thread.

u_char td_state
 Operating state.

u_short td_sp
 Stack pointer.

u_char td_priority
 Priority level.

u_chartd_memory
 Pointer to heap memory used for stack.

HANDLE td_timer
 Event timer.

HANDLE td_queue
 Root entry of the waiting queue.


Detailed Description

Thread information structure.
Examples:

httpd/httpserv.c, portdio/portdio.c, and tcps/tcps.c.


Field Documentation

u_char _NUTTHREADINFO::td_priority
 

Priority level.

0 is highest priority.

Examples:
httpd/httpserv.c, portdio/portdio.c, and tcps/tcps.c.

u_char _NUTTHREADINFO::td_state
 

Operating state.

One of TDS_

Examples:
httpd/httpserv.c, portdio/portdio.c, and tcps/tcps.c.


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