public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Roland McGrath <roland@redhat.com>
Cc: GNU libc hacker <libc-hacker@sources.redhat.com>
Subject: Re: setXid
Date: Mon, 20 Sep 2004 20:19:00 -0000	[thread overview]
Message-ID: <414F3B29.1040701@redhat.com> (raw)
In-Reply-To: <200409201950.i8KJoIJb015512@magilla.sf.frob.com>

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

Roland McGrath wrote:

> Like I said, they haven't been presented with an implementation yet.

I actually did.  I had all accesses to the values wrapped in macros,
then add a pointer, and have them, on demand, point to one single
variable in the thread group struct.

>  What
> I would propose would allow such an extension and also implement correct
> semantics when you are not using it.

You'll probably come up with the same method.  Have fun!


> You did not respond at all to my objection to your glibc extension
> functions.  Please say something about how you intend these to be
> acceptable features.

I don't understand the problem.  This extensions just provide a way to
access the behavior which has been in use forever.  Whenever I brought
the setXid topic up some people said "why multi-threaded program needs
the existing behavior".  These extensions are honestly as well defined
(or better) than the POSIX mandated behavior and they are necessary for
people who actually want the behavior (at least for migration purposes).
I see no problem at all.  If another OS does not provide the
functionality the functions can fail.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBTzsp2ijCOnn/RHQRAt3GAJ9ToOogBS9phmUqF2htpYFNq60PrQCfZd62
mv70VcGJt4DO3O8yZZM+c/E=
=z0EN
-----END PGP SIGNATURE-----

  reply	other threads:[~2004-09-20 20:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20  0:27 setXid Ulrich Drepper
2004-09-20 19:20 ` setXid Roland McGrath
2004-09-20 19:29   ` setXid Ulrich Drepper
2004-09-20 19:50     ` setXid Roland McGrath
2004-09-20 20:19       ` Ulrich Drepper [this message]
2004-09-20 20:26         ` setXid Roland McGrath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=414F3B29.1040701@redhat.com \
    --to=drepper@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    --cc=roland@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).