On Tue, Jun 28, 2022 at 3:54 PM Yann Ylavic <[email protected]> wrote:
>
> On Tue, Jun 28, 2022 at 9:24 PM Eric Covener <[email protected]> wrote:
> >
> > Ran out of time but I added a crude check to the branch in 1902326.
>
> Argh, I missed your message (which showed up after I sent mine..).
> Well, two solutions are better than none :)
That is much nicer, I had never seen those checks.
But I think it would trip up on Mac:
NAME
pthread_setname_np – set the thread name
SYNOPSIS
#include <pthread.h>
void
pthread_setname_np(const char *name);
DESCRIPTION
The pthread_setname_np() function sets the internal name for the
calling thread to string value specified by name argument.
--
Eric Covener
[email protected]