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 <email@example.com> (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: > > #ifdef HAVE_SYSCALL_H > this_thread->reltid = syscall(SYS_gettid); > #endif Mraw, KiBi.
Description: Digital signature