Go to the documentation of this file.
10 #define __KOS_THREAD_H
12 #include <sys/cdefs.h>
19 #include <sys/queue.h>
20 #include <sys/reent.h>
72 #define PRIO_DEFAULT 10
176 #define THD_DEFAULTS 0
179 #define THD_DETACHED 4
188 #define STATE_ZOMBIE 0x0000
189 #define STATE_RUNNING 0x0001
190 #define STATE_READY 0x0002
191 #define STATE_WAIT 0x0003
192 #define STATE_FINISHED 0x0004
212 #define THD_MODE_NONE -1
213 #define THD_MODE_COOP 0
214 #define THD_MODE_PREEMPT 1
503 int thd_pslist(
int (*pf)(
const char *fmt, ...));