1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-05 19:35:52 +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

@@ -67,7 +67,8 @@ __libc_start_call_main (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
result = 0;
if (! atomic_decrement_and_test (&__nptl_nthreads))
/* Not much left to do but to exit the thread, not the process. */
__exit_thread ();
while (1)
INTERNAL_SYSCALL_CALL (exit, 0);
}
exit (result);