18 #ifndef _COBALT_UAPI_KERNEL_THREAD_H
19 #define _COBALT_UAPI_KERNEL_THREAD_H
21 #include <cobalt/uapi/kernel/types.h>
32 #define XNSUSP 0x00000001
33 #define XNPEND 0x00000002
34 #define XNDELAY 0x00000004
35 #define XNREADY 0x00000008
36 #define XNDORMANT 0x00000010
37 #define XNZOMBIE 0x00000020
38 #define XNMAPPED 0x00000040
39 #define XNRELAX 0x00000080
40 #define XNMIGRATE 0x00000100
41 #define XNHELD 0x00000200
42 #define XNBOOST 0x00000400
43 #define XNSSTEP 0x00000800
44 #define XNLOCK 0x00001000
45 #define XNRRB 0x00002000
46 #define XNWARN 0x00004000
47 #define XNFPU 0x00008000
48 #define XNROOT 0x00010000
49 #define XNWEAK 0x00020000
50 #define XNUSER 0x00040000
51 #define XNJOINED 0x00080000
52 #define XNTRAPLB 0x00100000
53 #define XNDEBUG 0x00200000
66 #define XNTIMEO 0x00000001
67 #define XNRMID 0x00000002
68 #define XNBREAK 0x00000004
69 #define XNKICKED 0x00000008
70 #define XNWAKEN 0x00000010
71 #define XNROBBED 0x00000020
72 #define XNCANCELD 0x00000040
73 #define XNPIALERT 0x00000080
77 #define XNMOVED 0x00000001
78 #define XNLBALERT 0x00000002
100 #define XNTHREAD_STATE_LABELS "SWDRU..X.HbTlrt.....L."
102 struct xnthread_user_window {