[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-citadel-devel] Bug#590005: citadel: FTBFS on kfreebsd-*:threads.c:852: error: 'SYS_gettid' undeclared

Hi Wilfried.

Forwarding your mail/question to both the bug and the appropriate list
(sorry that it wasn't clear in my initial message).

Wilfried Goesgens <w.goesgens@outgesourced.org> (24/07/2010):
> Hy,
> the line is to determine the LWPID of the thread in question; it
> doesn't seem as if  pthread offers a portable wrapper, it just gives
> you the thread-ID which otoh you won't find anywhere else on the
> system aside of gdb; for  example top or ps just give you the LWPID.
> whats the BSD-way of doing this?
> the lines in question look like that:
>  this_thread->reltid = syscall(SYS_gettid);
> #endif


Attachment: signature.asc
Description: Digital signature

Reply to: