Re: [PATCH 1/2] Add pthread_getname_np and pthread_setname_np

2016-07-29 Thread Jon Turney
On 28/07/2016 20:21, Corinna Vinschen wrote: Hi Jon, On Jul 28 12:43, Jon Turney wrote: This patch 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. The code is based on NetBSD's implementation

Re: [PATCH 2/2] Send thread names to debugger

2016-07-29 Thread Jon Turney
On 28/07/2016 20:34, Corinna Vinschen wrote: On Jul 28 12:43, Jon Turney wrote: GDB with the patch from [1] can report and use these names. This is still WIP, right? Yes, that's right. --- a/winsup/cygwin/cygthread.cc +++ b/winsup/cygwin/cygthread.cc @@ -213,6 +213,8 @@ cygthread::create (

Re: [PATCH 2/2] Send thread names to debugger

2016-07-29 Thread Corinna Vinschen
On Jul 29 14:17, Jon Turney wrote: > On 28/07/2016 20:34, Corinna Vinschen wrote: > > On Jul 28 12:43, Jon Turney wrote: > > > GDB with the patch from [1] can report and use these names. > > > > This is still WIP, right? > > Yes, that's right. > > > > --- a/winsup/cygwin/cygthread.cc > > > +++ b