lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0608291046440.6963@yvahk01.tjqt.qr>
Date:	Tue, 29 Aug 2006 10:48:39 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Limeng [李萌] <avlimeng@...gsoft.net>
cc:	linux-kernel@...r.kernel.org
Subject: Re: help

>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
-- 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ