From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14364 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: pthread_getname_np implementation Date: Tue, 9 Jul 2019 14:19:26 -0400 Message-ID: <20190709181926.GO1506@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="220593"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "musl@lists.openwall.com" To: "Poggiali, Antonio" Original-X-From: musl-return-14380-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jul 09 20:19:47 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hkuiQ-000vIt-Kq for gllmg-musl@m.gmane.org; Tue, 09 Jul 2019 20:19:46 +0200 Original-Received: (qmail 18346 invoked by uid 550); 9 Jul 2019 18:19:43 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18325 invoked from network); 9 Jul 2019 18:19:42 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14364 Archived-At: On Wed, Jul 03, 2019 at 07:31:56AM +0000, Poggiali, Antonio wrote: > On Fri, 21 Jun 2019 14:18:38 -0400, Rich Felker wrote: > > So the situation is nasty, but not as bad as I remember. The > > conflicting definitions are basically junk (unusable) or minor > > gratuitous differences (int vs size_t). However this does suggest that > > there's a decent motivation for discouraging the proliferation of its > > use in applications. > > > Thoughts? > > I think if you provide a way to set a name, there should be a way to get it as well. > The majority of the systems lacks the API or have it as glibc does so why not implement it glibc style? Based on the previous discussion of this and others' comments, I think adding it is probably the right thing to do. I'll look at it after rolling the release. Ping the list again if I don't get around to it soon. Rich