Bug#725383: FTBFS on kfreebsd-*: SYS_gettid is Linux-specific
Robert Millan
rmh at debian.org
Mon Oct 7 13:16:00 UTC 2013
Petr Salinger:
>> Is there any lwpid_t which isn't "long" and defined by kernel headers?
>
> See upstream sources:
>
> http://svnweb.freebsd.org/base/head/sys/sys/_types.h?revision=255219&view=markup
>
>
> typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) */
>
> And compare with
> http://svnweb.freebsd.org/base/head/sys/kern/syscalls.master?revision=255708&view=markup
>
>
> 432 AUE_NULL STD { int thr_self(long *id); }
Oh, I see. It seems I missunderstood what thr_self() does.
Thanks for clarifying!
--
Robert Millan
More information about the Pkg-grass-devel
mailing list