Bug#725383: FTBFS on kfreebsd-*: SYS_gettid is Linux-specific

Petr Salinger Petr.Salinger at seznam.cz
Sun Oct 6 17:00:01 UTC 2013


> 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); }


Petr



More information about the Pkg-grass-devel mailing list