Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
thread
/
thrd_detach.c
blob: 0ed0219ae3c2758b4a712bb865fbebd2a2154c79 [
file
] [
log
] [
blame
]
#include
<threads.h>
#include
"threads_impl.h"
int
thrd_detach
(
thrd_t
t
)
{
switch
(
__pthread_detach
(
t
))
{
case
0
:
return
thrd_success
;
default
:
return
thrd_error
;
}
}