Thread management and program execution. More...
#include <stdbool.h>#include <stdint.h>

Go to the source code of this file.
Typedefs | |
| typedef void(* | sys_thread_func_t) (void *arg) |
| Thread function signatureFunction signature for thread entry points. More... | |
Functions | |
| uint8_t | sys_thread_numcores (void) |
| Returns the number of CPU cores available on the host system. More... | |
| bool | sys_thread_create (sys_thread_func_t func, void *arg) |
| Create a thread on any available core. More... | |
| bool | sys_thread_create_on_core (sys_thread_func_t func, void *arg, uint8_t core) |
| Create a thread on a specific core. More... | |
| uint8_t | sys_thread_core (void) |
| Get the CPU core number the current thread is running on. More... | |
| void | sys_sleep (int32_t msec) |
| Pauses the execution of the current thread for a specified time. More... | |
Thread management and program execution.
Definition in file thread.h.