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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 29 Aug 2006 10:46:17 +0200
From:	Erik Mouw <erik@...ddisk-recovery.com>
To:	"Limeng [??????]" <avlimeng@...gsoft.net>
Cc:	linux-kernel@...r.kernel.org
Subject: [OT] thread identification (was: help)

On Tue, Aug 29, 2006 at 04:12:18PM +0800, Limeng [??????] wrote:
>     How can I get one thread???s  LWP id on linux??? 

See gettid(2).

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

Don't ask it over here, this list is about kernel development, not
about pthread questions.


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ