72cdfba9b0828327b8532736fa313a3a140753f8 blob 245 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
| | #include <threads.h>
int __pthread_detach(thrd_t t);
int thrd_detach(thrd_t t)
{
/* In the best of all worlds this is a tail call. */
int ret = __pthread_detach(t);
if (thrd_success)
return ret ? thrd_error : thrd_success;
return ret;
}
|
debug log:
solving 72cdfba ...
found 72cdfba in https://inbox.vuxu.org/musl/22215ff2f880382340930f78cc746565a625a806.1409423162.git.Jens.Gustedt@inria.fr/
applying [1/1] https://inbox.vuxu.org/musl/22215ff2f880382340930f78cc746565a625a806.1409423162.git.Jens.Gustedt@inria.fr/
diff --git a/src/thread/thrd_detach.c b/src/thread/thrd_detach.c
new file mode 100644
index 0000000..72cdfba
Checking patch src/thread/thrd_detach.c...
Applied patch src/thread/thrd_detach.c cleanly.
index at:
100644 72cdfba9b0828327b8532736fa313a3a140753f8 src/thread/thrd_detach.c
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).