On Mon, 11 Mar 2019 18:37:02 +0100 Natanael Copa <nc...@alpinelinux.org> wrote:
> +#if !defined(__GLIBC__) > +#include <sys/syscall.h> > +#define gettid() syscall(SYS_gettid) > +#endif > + I though glibc didn't want to expose thread id. Personally, I would just drop the thread from the log message since it is not that useful anyway.