This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gscope + private_futex for alpha


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]