Definition at line 154 of file thread.h.
Data Fields | |
NUTTHREADINFO * | td_next |
Linked list of all threads. | |
NUTTHREADINFO * | td_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. One of TDS_. | |
uptr_t | td_sp |
Stack pointer. | |
u_char | td_priority |
Priority level. 0 is highest priority. | |
u_char * | td_memory |
Pointer to heap memory used for stack. | |
HANDLE | td_timer |
Event timer. | |
volatile HANDLE | td_queue |
Root entry of the waiting queue. |
Linked list of all threads.
Definition at line 155 of file thread.h.
Referenced by GetThreadByName(), NutThreadCreate(), NutThreadKill(), NutThreadResume(), and ProcessRequests().
Linked list of all queued thread.
Definition at line 156 of file thread.h.
Referenced by NutEventPostAsync(), NutEventTimeout(), NutSleep(), NutThreadAddPriQueue(), NutThreadRemoveQueue(), and NutThreadYield().
volatile u_int _NUTTHREADINFO::td_qpec |
Pending event counter.
Definition at line 157 of file thread.h.
Referenced by NutEventPostAsync(), NutEventTimeout(), NutThreadAddPriQueue(), NutThreadRemoveQueue(), and NutThreadResume().
char _NUTTHREADINFO::td_name[9] |
Name of this thread.
Definition at line 158 of file thread.h.
Referenced by GetThreadByName(), NutDumpThreadList(), NutDumpThreadQueue(), NutThreadCreate(), and ProcessRequests().
Operating state. One of TDS_.
Definition at line 159 of file thread.h.
Referenced by NutEventPostAsync(), NutEventTimeout(), NutEventWait(), NutSleep(), NutThreadCreate(), NutThreadSetPriority(), NutThreadSwitch(), and ProcessRequests().
Stack pointer.
Definition at line 160 of file thread.h.
Referenced by NutThreadCreate(), NutThreadSwitch(), and ProcessRequests().
Priority level. 0 is highest priority.
Definition at line 161 of file thread.h.
Referenced by NutThreadAddPriQueue(), NutThreadCreate(), NutThreadSetPriority(), and ProcessRequests().
Pointer to heap memory used for stack.
Definition at line 162 of file thread.h.
Referenced by NutThreadCreate(), NutThreadDestroy(), and ProcessRequests().
Event timer.
Definition at line 163 of file thread.h.
Referenced by NutEventPostAsync(), NutEventTimeout(), NutEventWait(), NutSleep(), NutThreadCreate(), and ProcessRequests().
volatile HANDLE _NUTTHREADINFO::td_queue |
Root entry of the waiting queue.
Definition at line 164 of file thread.h.
Referenced by NutSleep(), NutThreadAddPriQueue(), NutThreadCreate(), NutThreadRemoveQueue(), and NutThreadResume().