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

_NUTTHREADINFO Struct Reference

Thread information structure. More...

#include <sys/thread.h>


Data Fields

NUTTHREADINFO* volatile td_next
 Linked list of all threads.

NUTTHREADINFO* volatile td_qnxt
 Linked list of all queued thread.

u_char td_name [9]
 Name of this thread.

u_char td_state
 Operating state. More...

u_short td_sp
 Stack pointer.

u_char td_priority
 Priority level. More...

void* td_memory
 Pointer to heap memory used for stack.

HANDLE td_timer
 Event timer.


Detailed Description

Thread information structure.
Examples:

portdio/portdio.c, and tcps/tcps.c.


Field Documentation

u_char _NUTTHREADINFO::td_priority
 

Priority level.

0 is highest priority.

u_char _NUTTHREADINFO::td_state
 

Operating state.

One of TDS_


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