8 #ifndef __OS_WRAPPER_THREAD_H__
9 #define __OS_WRAPPER_THREAD_H__
void * os_wrapper_thread_new(const char *name, int32_t stack_size, os_wrapper_thread_func func, void *arg, uint32_t priority)
Creates a new thread.
void os_wrapper_thread_exit(void)
Exits the calling thread.
uint32_t os_wrapper_thread_set_flag_isr(void *handle, uint32_t flags)
Set the event flags in an interrupt handler for synchronizing a thread specified by handle...
void(* os_wrapper_thread_func)(void *argument)
void * os_wrapper_thread_get_handle(void)
Gets current thread handle.
uint32_t os_wrapper_thread_get_priority(void *handle, uint32_t *priority)
Gets thread priority.
uint32_t os_wrapper_thread_wait_flag(uint32_t flags, uint32_t timeout)
Wait for the event flags for synchronizing threads.
uint32_t os_wrapper_thread_set_flag(void *handle, uint32_t flags)
Set the event flags for synchronizing a thread specified by handle.