osThreadTerminate() function
Terminate execution of a thread.
Arguments
thread_id
thread ID obtained by osThreadNew or osThreadGetId.
Return value
status code that indicates the execution status of the function.
Examples
osThreadTerminate() is referenced by 24 libraries and example projects: