1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-10 05:03:06 +03:00

nptl: Remove exit-thread.h

No function change.  The code is used only for Linux, besides
being included in generic code.
This commit is contained in:
Adhemerval Zanella
2021-05-27 09:11:10 -03:00
parent 642213e043
commit eaa53d0f77
5 changed files with 4 additions and 69 deletions

View File

@@ -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 */
}