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.
osThreadDetach() calls 1 function:
![]()
osThreadDetach()
osThreadDetach() reads 3 variables:
![]()
osThreadDetach()