|
Defines |
#define | __CONVEN_THREAD_H__ 1 |
#define | THREADOPT_SCHED (1<<0u) |
#define | THREADOPT_SERVICE (1<<1u) |
#define | THREADOPT_REALTIME (1<<2u) |
#define | THREADOPT_KERNEL (1<<3u) |
#define | THREADOPT_TRACED (1<<4u) |
#define | THREADOPT_HEAPSTK (1<<5u) |
#define | THREADOPT_FIXEDSEL (1<<6u) |
#define | THREADOPT_NOSTK (1<<7u) |
#define | THREADOPT_COPYTSS (1<<8u) |
#define | THREADOPT_DONTSIMCALL (1<<9u) |
#define | THREADOPT_IOMAP (1<<10u) |
#define | THREADOPT_DONTRUN (1<<11u) |
#define | THREADOPT_VERBOSE (1<<16u) |
Enumerations |
enum | t_thread_status {
THREAD_EZERO = 0,
THREAD_PRSV_TCB = 100,
THREAD_KRSV_TCB,
THREAD_WIRE_TCB,
THREAD_TCBREG,
THREAD_PRSV_STK,
THREAD_VRSV_STK,
THREAD_MAP_STK,
THREAD_BAD_PL,
THREAD_RUN,
THREAD_ASCREATE,
THREAD_ASATTACH_FAILED,
THREAD_INVALID_CLASS,
THREAD_COPY_PARAMS,
THREAD_COPY_EIPZERO,
THREAD_EBP_NOT_ZERO,
THREAD_NO_CLASS,
THREAD_LCLASS = 200,
THREAD_LNAME,
THREAD_LSTATUS,
THREAD_LTSS,
THREAD_LTRACE,
THREAD_LEP
} |
Functions |
int | param_gen (char **argv, int argc, char **params, int *paramlen) |
t_thread_status | thread_create (char *name, asid_t asid, u_int32_t eip, int nbstkpgs, int for_cpu, u_int sel, u_int32_t threadopts, char *parambuf, int paramlen, struct s_tcb_export *tcb) |