diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-05-27 09:11:10 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-06-04 09:52:28 -0300 |
commit | eaa53d0f77691e37aa6f22e18205a2ba019e1a1c (patch) | |
tree | 7f9445d151b654a571af34c638564875030faf85 /nptl | |
parent | 642213e043040b2e3b5aad936986195491107e34 (diff) | |
download | glibc-eaa53d0f77691e37aa6f22e18205a2ba019e1a1c.tar.gz |
nptl: Remove exit-thread.h
No function change. The code is used only for Linux, besides
being included in generic code.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/pthread_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 2d2535b07d..52d6738f7f 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -30,7 +30,6 @@ #include <libc-internal.h> #include <resolv.h> #include <kernel-features.h> -#include <exit-thread.h> #include <default-sched.h> #include <futex-internal.h> #include <tls-setup.h> @@ -575,7 +574,8 @@ start_thread (void *arg) The exit code is zero since in case all threads exit by calling 'pthread_exit' the exit status must be 0 (zero). */ - __exit_thread (); + while (1) + INTERNAL_SYSCALL_CALL (exit, 0); /* NOTREACHED */ } |