uint8_t sys_thread_numcores(void)
Returns the number of CPU cores available on the host system.
void sys_sleep(int32_t msec)
Pauses the execution of the current thread for a specified time.
bool sys_thread_create(sys_thread_func_t func, void *arg)
Create a thread on any available core.
void(* sys_thread_func_t)(void *arg)
Thread function signatureFunction signature for thread entry points.
uint8_t sys_thread_core(void)
Get the CPU core number the current thread is running on.
bool sys_thread_create_on_core(sys_thread_func_t func, void *arg, uint8_t core)
Create a thread on a specific core.