osThreadCreate() function
Thread Management **************************** Create a thread and add it to Active Threads and set it to state READY.
Arguments
thread_def
thread definition referenced with
osThread
.
argument
pointer that is passed to the thread function as start argument.
Return value
thread ID for reference by other functions or NULL in case of error.
Notes
MUST REMAIN UNCHANGED: \b osThreadCreate shall be consistent in every CMSIS-RTOS.
Examples
osThreadCreate() is referenced by 108 libraries and example projects: