Re: problem about CLONE_PARENT_SETTID | CLONE_CHILD_CLEARTID ?

Roger Gammans (roger@computer-surgery.co.uk)
Wed, 11 Dec 2002 16:22:55 +0000


--LpQ9ahxlCli8rRTG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 10, 2002 at 11:01:32AM -0800, Ulrich Drepper wrote:
> Hu, Boris wrote:
>=20
> > I have searched CLONE_PARENT_SETTID in kernel, it seems only to appear=
in=20
> > some non-architecture files, such as /include/linux/sched.h and several=
arch
> [snip]
> the kernel. Nobody cared for Arm so far so there obviously is no kernel
> support.

Unless Russell has changed his mind recently,[1] use of SWP in userspace co=
de=20
isn't supported.
I suppose this is less of a concern if futex's work on ARM though.

But you'll need some userspace synchronisation primitive to do useful work=
=20
with threads.

TTFN
[1] And I haven't been following linux-arm recently.
--=20
Roger.
Master of Peng Shui. (Ancient oriental art of Penguin Arranging)
GPG Key FPR: CFF1 F383 F854 4E6A 918D 5CFF A90D E73B 88DE 0B3E

--LpQ9ahxlCli8rRTG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE992ZeqQ3nO4jeCz4RAkaUAJ9P1r5837xVDzpFtKnxqXVacv5XNgCggUiL
VF/rxbG14V8m3RJkZUIFGRY=
=YOoA
-----END PGP SIGNATURE-----

--LpQ9ahxlCli8rRTG--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/