Xenomai API  2.6.5
Thread state flags.

Bits reporting permanent or transient states of thread. More...

Collaboration diagram for Thread state flags.:

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)
 

Detailed Description

Bits reporting permanent or transient states of thread.

Macro Definition Documentation

#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 XNREADY   0x00000008