From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
To: cygwin-patches@cygwin.com
Subject: Re: [PATCH] Add pthread_getname_np, pthread_setname_np
Date: Fri, 24 Feb 2012 11:00:00 -0000 [thread overview]
Message-ID: <1330081241.6260.3.camel@YAAKOV04> (raw)
In-Reply-To: <20120224093809.GA20683@calimero.vinschen.de>
On Fri, 2012-02-24 at 10:38 +0100, Corinna Vinschen wrote:
> On Feb 23 21:38, Yaakov (Cygwin/X) wrote:
> > This patchset adds pthread_getname_np and pthread_setname_np. These
> > were added to glibc in 2.12[1] and are also present in some form on
> > NetBSD and several UNIXes. IIUC recent versions of GDB can benefit from
> > this support.
>
> Thanks for your patch, but I don't think it's the whole thing.
>
> Consider, if you implement pthread_[gs]etname_np as you did, then you
> have pthread names which are only available to the process in which
> the threads are running.
My implementation is based on NetBSD's[1]. So what purpose do these
functions serve then on that it and the UNIXes? (Serious question.)
Yaakov
[1] http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libpthread/pthread.c?rev=1.125
next prev parent reply other threads:[~2012-02-24 11:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-24 3:38 Yaakov (Cygwin/X)
2012-02-24 9:38 ` Corinna Vinschen
2012-02-24 11:00 ` Yaakov (Cygwin/X) [this message]
2012-02-24 12:18 ` Corinna Vinschen
2012-02-24 16:56 ` Pedro Alves
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=1330081241.6260.3.camel@YAAKOV04 \
--to=yselkowitz@users.sourceforge.net \
--cc=cygwin-patches@cygwin.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).