[PATCH] prefer exit_group syscall to exit
Carmelo AMOROSO
carmelo.amoroso at st.com
Mon Jan 4 09:20:14 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
matthieu castet wrote:
> Hi,
>
> using exit_group for exit and _exit function is needed for thread
> libraries using "kernel thread" (ie CLONE_THREAD).
>
> This is needed for example for bionic port.
>
Thia change is already available in the NPTL branch because
the new syscall is required when using NPTL, and this is guarded
by #ifdef __UCLIBC_HAS_THREADS_NATIVE__.
When *not* using NPTL, I don't think it is correct to change the semantic
of the exit C wrapper, at least I'm not sure... and bionic is not a pthread
library available within uClibc.
Cheers,
Carmelo
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAktBss0ACgkQoRq/3BrK1s+Y8wCePtGXcBDDgBbXfibTxcpUMVpS
0xwAoPtJYjZap+Oa05l4whhcTsy+SC4E
=G9H6
-----END PGP SIGNATURE-----
More information about the uClibc
mailing list