Defined in header
int thrd_detach( thrd_t thr );
Detaches the thread identified by
thr from the current environment. The resources held by the thread will be freed automatically once the thread exits.
|thr||-||identifier of the thread to detach|
| blocks until a thread terminates |