7#define THREAD_MAGIC_THRD MOS_FOURCC('T', 'H', 'R', 'D')
void define_syscall thread_exit(void)
void thread_destroy(thread_t *thread)
#define THREAD_MAGIC_THRD
thread_t * thread_get(tid_t id)
bool thread_wait_for_tid(tid_t tid)
should_inline bool thread_is_valid(const thread_t *thread)
thread_t * thread_allocate(process_t *owner, thread_mode tflags)
void thread_exit_locked(thread_t *t)
thread_t * thread_complete_init(thread_t *thread)
thread_t * thread_new(process_t *owner, thread_mode mode, const char *name, size_t stack_size, void *stack)