+enum {
+ CHUDXNU_TS_RUNNING = 0x1,
+ CHUDXNU_TS_RUNNABLE = 0x2,
+ CHUDXNU_TS_WAIT = 0x4,
+ CHUDXNU_TS_UNINT = 0x8,
+ CHUDXNU_TS_SUSP = 0x10,
+ CHUDXNU_TS_TERMINATE = 0x20,
+ CHUDXNU_TS_IDLE = 0x40
+};
+
+extern int chudxnu_thread_get_scheduler_state(thread_t thread);
+
+extern boolean_t chudxnu_thread_get_dirty(thread_t thread);
+extern void chudxnu_thread_set_dirty(thread_t thread, boolean_t);
+