Xenomai API
2.6.5
|
Bits reporting permanent or transient states of thread. More...
Macros | |
#define | XNSUSP 0x00000001 |
Suspended. More... | |
#define | XNPEND 0x00000002 |
Sleep-wait for a resource. More... | |
#define | XNDELAY 0x00000004 |
Delayed. | |
#define | XNREADY 0x00000008 |
Linked to the ready queue. More... | |
#define | XNDORMANT 0x00000010 |
Not started yet or killed. | |
#define | XNZOMBIE 0x00000020 |
Zombie thread in deletion process. | |
#define | XNRESTART 0x00000040 |
Restarting thread. | |
#define | XNSTARTED 0x00000080 |
Thread has been started. | |
#define | XNMAPPED 0x00000100 |
Mapped to a regular Linux task (shadow only) | |
#define | XNRELAX 0x00000200 |
Relaxed shadow thread (blocking bit) | |
#define | XNMIGRATE 0x00000400 |
Thread is currently migrating to another CPU. More... | |
#define | XNHELD 0x00000800 |
Thread is held to process emergency. More... | |
#define | XNBOOST 0x00001000 |
Undergoes a PIP boost. | |
#define | XNDEBUG 0x00002000 |
Hit a debugger breakpoint (shadow only) | |
#define | XNLOCK 0x00004000 |
Holds the scheduler lock (i.e. More... | |
#define | XNRRB 0x00008000 |
Undergoes a round-robin scheduling. | |
#define | XNASDI 0x00010000 |
ASR are disabled. | |
#define | XNDEFCAN 0x00020000 |
Deferred cancelability mode (self-set only) | |
#define | XNTRAPSW 0x00040000 |
Trap execution mode switches. | |
#define | XNRPIOFF 0x00080000 |
Stop priority coupling (shadow only) | |
#define | XNFPU 0x00100000 |
Thread uses FPU. | |
#define | XNSHADOW 0x00200000 |
Shadow thread. | |
#define | XNROOT 0x00400000 |
Root thread (that is, Linux/IDLE) | |
#define | XNOTHER 0x00800000 |
Non real-time shadow (prio=0) | |
Bits reporting permanent or transient states of thread.
#define XNHELD 0x00000800 |
Thread is held to process emergency.
Referenced by xnpod_resume_thread(), and xnpod_suspend_thread().
#define XNLOCK 0x00004000 |
Holds the scheduler lock (i.e.
not preemptible)
Referenced by pthread_set_mode_np(), xnpod_set_thread_mode(), and xnpod_welcome_thread().
#define XNMIGRATE 0x00000400 |
Thread is currently migrating to another CPU.
Referenced by xnpod_delete_thread().
#define XNPEND 0x00000002 |
Sleep-wait for a resource.
Referenced by xnpod_delete_thread(), xnpod_resume_thread(), xnpod_unblock_thread(), xnsynch_acquire(), xnsynch_flush(), xnsynch_forget_sleeper(), xnsynch_sleep_on(), xnsynch_wakeup_one_sleeper(), and xnsynch_wakeup_this_sleeper().
#define XNREADY 0x00000008 |
Linked to the ready queue.
Referenced by xnpod_delete_thread(), xnpod_resume_thread(), xnpod_start_thread(), and xnpod_suspend_thread().
#define XNSUSP 0x00000001 |
Suspended.
Referenced by pthread_kill(), rt_task_create(), rt_task_resume(), rt_task_suspend(), xnpod_init_thread(), xnpod_start_thread(), xnpod_suspend_thread(), and xnpod_trap_fault().