Re: [call for testing] NPTL like pthread implementation for GNU/kFreeBSD
Hi Petr,
Are you sure about this?
/* TID of the helper thread. */
-extern __lwpid_t __helper_tid attribute_hidden;
+extern pid_t __helper_tid attribute_hidden;
(in kernel-posix-timers.h and timer_routines.c)
lwpid_t happens to match pid_t but AFAICT they're supposed to be
different things. Nothing prevents upstream from eventually diverging
them:
sys/sys/_types.h:typedef __int32_t __lwpid_t; /* Thread
ID (a.k.a. LWP) */
sys/sys/_types.h:typedef __int32_t __pid_t; /*
process [group] */
Reply to: