osThreadDetach() function
Detach a thread (thread storage can be reclaimed when thread terminates).
Arguments
thread_id
thread ID obtained by osThreadNew or osThreadGetId.
Return value
status code that indicates the execution status of the function.
Examples
osThreadDetach() is referenced by 1 libraries and example projects: