I think you can avoid this by using the primitive:
lwpid_t tid;
syscall (SYS_thr_self, &tid);
--
Robert Millan
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
y lwpid_t which isn't "long" and defined by kernel headers?
--
Robert Millan
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
D (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!
--
Robe
3 matches
Mail list logo