[PATCH:xserver] Use pthread_setname_np to set thread names if available

Matthieu Herrb matthieu at herrb.eu
Mon Sep 12 19:34:19 UTC 2016


On Sun, Sep 11, 2016 at 11:19:21AM -0700, Alan Coopersmith wrote:
> On 09/10/16 10:30 PM, Keith Packard wrote:
> > Alan Coopersmith <alan.coopersmith at oracle.com> writes:
> > 
> > > Autoconf logic borrowed from glib
> > 
> > This seems kinda nice to me, but I'd like to know how many
> > configurations you've found to test this on?
> 
> As I said, I've only tested on Solaris myself.  Thanks to Jeremy for
> testing on MacOS, hopefully others can test on Linux & the BSD's.

Hi,

OpenBSD doesn't have it, NetBSD seem to have it, and I don't know
about FreeBSD or DragonFly.

> 
> The similar code in glib has been in their git since April:
> https://git.gnome.org/browse/glib/log/glib/gthread-posix.c
> 
> -- 
> 	-Alan Coopersmith-              alan.coopersmith at oracle.com
> 	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel

-- 
Matthieu Herrb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 793 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160912/058a867c/attachment-0001.sig>


More information about the xorg-devel mailing list