#define DEADBEEF 0xDEADBEEF
#define TDS_TERM 0
#define TDS_RUNNING 1
#define TDS_READY 2
#define TDS_SLEEP 3
#define SLEEP_MODE_NONE 0xff
#define THREAD( threadfn, arg )
See: | Type struct _NUTTHREADINFO |
struct _NUTTHREADINFO | |
{ | |
NUTTHREADINFO* volatile td_next; | |
NUTTHREADINFO* td_qnxt; | |
u_char td_name[9]; | |
u_char td_state; | |
uptr_t td_sp; | |
u_char td_priority; | |
u_char* td_memory; | |
HANDLE td_timer; | |
HANDLE td_queue; | |
} |
Defined in: | nut/os/thread.c |
nutThreadList
extern NUTTHREADINFO* nutThreadList
Defined in: | nut/os/thread.c |
readyQueue
extern NUTTHREADINFO* volatile readyQueue
Defined in: | nut/os/thread.c |
runQueue
extern NUTTHREADINFO* runQueue
Defined in: | nut/os/thread.c |