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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user