projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
global cleanup to use the new syscall interface
[musl]
/
src
/
thread
/
pthread_create.c
diff --git
a/src/thread/pthread_create.c
b/src/thread/pthread_create.c
index
3716f75
..
17a47f6
100644
(file)
--- a/
src/thread/pthread_create.c
+++ b/
src/thread/pthread_create.c
@@
-36,7
+36,7
@@
void __pthread_unwind_next(struct __ptcb *cb)
__unmapself(self->map_base, self->map_size);
}
-
__syscall_exit(
0);
+
syscall(SYS_exit,
0);
}
static void docancel(struct pthread *self)