Xenomai  3.1
Thread state flags

Bits reporting permanent or transient states of threads. 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.
 
#define XNZOMBIE   0x00000020
 Zombie thread in deletion process.
 
#define XNMAPPED   0x00000040
 Thread is mapped to a linux task.
 
#define XNRELAX   0x00000080
 Relaxed shadow thread (blocking bit)
 
#define XNMIGRATE   0x00000100
 Thread is currently migrating to another CPU. More...
 
#define XNHELD   0x00000200
 Thread is held to process emergency. More...
 
#define XNBOOST   0x00000400
 PI/PP boost undergoing.
 
#define XNSSTEP   0x00000800
 Single-stepped by debugger.
 
#define XNLOCK   0x00001000
 Scheduler lock control (pseudo-bit, not in ->state)
 
#define XNRRB   0x00002000
 Undergoes a round-robin scheduling.
 
#define XNWARN   0x00004000
 Issue SIGDEBUG on error detection.
 
#define XNFPU   0x00008000
 Thread uses FPU.
 
#define XNROOT   0x00010000
 Root thread (that is, Linux/IDLE)
 
#define XNWEAK   0x00020000
 Non real-time shadow (from the WEAK class)
 
#define XNUSER   0x00040000
 Shadow thread running in userland.
 
#define XNJOINED   0x00080000
 Another thread waits for joining this thread.
 
#define XNTRAPLB   0x00100000
 Trap lock break (i.e. More...
 
#define XNDEBUG   0x00200000
 User-level debugging enabled.
 
#define XNDBGSTOP   0x00400000
 Stopped for synchronous debugging.
 

Detailed Description

Bits reporting permanent or transient states of threads.

Macro Definition Documentation

◆ XNHELD

#define XNHELD   0x00000200

Thread is held to process emergency.

◆ XNMIGRATE

#define XNMIGRATE   0x00000100

Thread is currently migrating to another CPU.

◆ XNPEND

#define XNPEND   0x00000002

Sleep-wait for a resource.

◆ XNREADY

#define XNREADY   0x00000008

Linked to the ready queue.

◆ XNSUSP

#define XNSUSP   0x00000001

Suspended.

Referenced by xnthread_init().

◆ XNTRAPLB

#define XNTRAPLB   0x00100000

Trap lock break (i.e.

may not sleep with sched lock)