Re: help

From: Jan Engelhardt
Date: Tue Aug 29 2006 - 04:46:59 EST


>Hi,
> How can I get one threadâs LWP id on linuxï
> The thread is not the main thread, so that getpid() does not work.
>And the LWP id is not the same as the result by pthread_self().
>
> Any suggestion?

gettid(), I assume.



Jan Engelhardt
--