14 #define Thread_WAIT_FOREVER 0xFFFFFFFFU
24 #if (RHINO_CONFIG_KOBJ_DYN_ALLOC > 0)
37 kstat_t create(
const name_t *name,
void *arg, uint8_t prio,
38 tick_t ticks,
size_t stack_size, task_entry_t entry,
41 thread(
const name_t *name,
void *arg, uint8_t prio,
42 tick_t ticks,
size_t stack_size, task_entry_t entry, uint8_t autorun);
48 #if (RHINO_CONFIG_CPU_NUM > 1)
62 kstat_t create_smp(
const name_t *name,
void *arg, uint8_t prio,
63 tick_t ticks,
size_t stack_size, task_entry_t entry,
64 uint8_t cpu_num, uint8_t autorun);
73 kstat_t terminate(
void);
97 kstat_t
sleep(uint32_t millisec);
122 #if (RHINO_CONFIG_CPU_NUM > 1)
129 kstat_t cpu_bind(uint8_t cpu_num);
136 kstat_t cpu_unbind(
void);
144 ktask_t *p_thread_def;
kstat_t sleep(uint32_t millisec)
kstat_t prio_change(uint8_t pri)