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

_NUTTHREADINFO Struct Reference
[Thread ManagementThread Management]

#include <sys/thread.h>

Collaboration diagram for _NUTTHREADINFO:

Collaboration graph
[legend]

Detailed Description

Thread information structure.

Todo:
Sort items while considering alignment.
Examples:

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


Data Fields

NUTTHREADINFOtd_next
 Linked list of all threads.
NUTTHREADINFOtd_qnxt
 Linked list of all queued thread.
volatile u_int td_qpec
 Pending event counter.
char td_name [9]
 Name of this thread.
u_char td_state
 Operating state.
uptr_t 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.
volatile HANDLE td_queue
 Root entry of the waiting queue.


Field Documentation

u_char _NUTTHREADINFO::td_state
 

Operating state.

One of TDS_

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

u_char _NUTTHREADINFO::td_priority
 

Priority level.

0 is highest priority.

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


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