This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix build on macOS
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Tom Tromey <tromey at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 31 Jan 2020 14:02:42 -0700
- Subject: Re: [PATCH] Fix build on macOS
- References: <20191210214717.25680-1-tromey@adacore.com> <20200131072300.5062774a@f31-4.lan> <87ftfvwusu.fsf@tromey.com>
On Fri, 31 Jan 2020 15:43:29 +0100
Tom Tromey <tromey@adacore.com> wrote:
> >>>>> "Kevin" == Kevin Buettner <kevinb@redhat.com> writes:
>
> >> gdb/ChangeLog
> >> 2019-12-10 Tom Tromey <tromey@adacore.com>
> >>
> >> PR build/25268:
> >> * gdbsupport/thread-pool.c (set_thread_name): New template
> >> function.
> >> (thread_pool::set_thread_count): Don't call pthread_setname_np.
> >> (thread_pool::thread_function): Call set_thread_name.
>
> Kevin> Did this ever go in?
>
> Kevin> If not, I think it looks reasonable.
>
> Something like it did, and then there was another fix after that.
Yeah, I saw that there was a second fix, but I didn't see the template
stuff, which I thought was pretty cool.
Kevin