proconX: Protocol Converter & Gateways

Programmable Gateways

Smart Industrial Communication and Embeddeded Ethernet Solutions
 Login 
We accept VISA, MasterCard, PayPal

World Wide Shipping

_NUTTHREADINFO Struct Reference
[Thread ManagementThread Management]

#include <sys/thread.h>

Collaboration diagram for _NUTTHREADINFO:

Collaboration graph
[legend]

Detailed Description

Thread information structure.
Examples:

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


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.
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.
HANDLE td_queue
 Root entry of the waiting queue.


Field Documentation

u_char _NUTTHREADINFO::td_priority
 

Priority level.

0 is highest priority.

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

u_char _NUTTHREADINFO::td_state
 

Operating state.

One of TDS_

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