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
43 #define XNBOOST 0x00000400
44 #define XNDEBUG 0x00000800
45 #define XNLOCK 0x00001000
46 #define XNRRB 0x00002000
47 #define XNWARN 0x00004000
48 #define XNFPU 0x00008000
49 #define XNROOT 0x00010000
50 #define XNWEAK 0x00020000
51 #define XNUSER 0x00040000
52 #define XNJOINED 0x00080000
53 #define XNTRAPLB 0x00100000
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 XNMOVED 0x00000080
74 #define XNPIALERT 0x00001000
75 #define XNLBALERT 0x00002000
97 #define XNTHREAD_STATE_LABELS "SWDRU..X.HbTlrt.....L"
99 struct xnthread_user_window {