osThreadNew() function
Create a thread and add it to Active Threads.
Arguments
argument
pointer that is passed to the thread function as start argument.
attr
thread attributes; NULL: default values.
Return value
thread ID for reference by other functions or NULL in case of error.
Examples
osThreadNew() is referenced by 2 libraries and example projects: