gscope + private_futex for alpha

Ulrich Drepper drepper@redhat.com
Fri May 25 02:26:00 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Henderson wrote:
> It seems like much of this same code could be shared with all
> of the targets, particularly those that define TLS_DTV_AT_TP.

Jakub has some patches which I haven't yet looked at.


> +#define lll_futex_wait_flags(futexp, val, flags) \

I don't think this is what I want to do.  The reason is obvious from the
rest of your changes.  Your pthread_once cannot work since the wake call
doesn't use the private flag the same way.  If we'd introduce a new
macro like that we'd have a whole lot of places to inspect and debug.

I'm looking at the generic situation right soon since even x86-64 needs
it for mutexes etc.  What I'll probably end up doing it extend the
existing macros.  This way every usage has to be inspected.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGVkkx2ijCOnn/RHQRAjF1AJ9nB9ANs7lbmoJSe0GqaweKjSz4fwCgwXI1
NZeymA0gWKSEHiutmRBry3k=
=Dr09
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list