From: Jan Engelhardt <jengelh@linux01.gwdg.de>
To: "Limeng [李萌]" <avlimeng@kingsoft.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: help
Date: Tue, 29 Aug 2006 10:48:39 +0200 (MEST) [thread overview]
Message-ID: <Pine.LNX.4.61.0608291046440.6963@yvahk01.tjqt.qr> (raw)
In-Reply-To: <004a01c6cb42$dbdbc110$8940a8c0@liibook>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 263 bytes --]
>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
--
next prev parent reply other threads:[~2006-08-29 8:49 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-29 8:12 help Limeng [李萌]
2006-08-29 8:46 ` [OT] thread identification (was: help) Erik Mouw
2006-08-29 8:48 ` Jan Engelhardt [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-03-21 19:26 help don fisher
2018-11-21 13:32 help _
2018-08-07 13:01 help Marcel J.E. Mol
2012-06-14 16:30 help chen.chenchacha
2011-11-18 5:12 help shepherd Lazy
2010-12-21 7:58 help andy xu
2010-05-29 2:48 help code.perfect
2010-05-28 9:06 help code.perfect
2010-05-17 17:00 Help Sgt. Ken Holland
2008-09-28 5:06 help Reg Clemens
2007-12-10 11:48 help Thanos Chatziathanassiou
2007-12-11 1:02 ` help David Newall
[not found] <46D25A05.4070606@davidnewall.com>
2007-08-27 17:18 ` help David Newall
2007-08-27 17:31 ` help Michal Piotrowski
2007-05-16 0:25 help Mao Wei
2005-11-16 8:26 help Hua Feijun
2005-11-16 8:40 ` help Ian McDonald
2005-08-29 4:01 help raja
2005-08-29 4:41 ` help Randy.Dunlap
2005-08-27 7:01 help raja
2005-08-27 7:32 ` help Pekka Enberg
2005-05-28 14:15 help John W. M. Stevens
2005-01-22 10:12 Help Pankaj Agarwal
2005-01-22 11:16 ` Help Graeme T Ford
2005-01-11 15:36 help Bhupesh Kumar Pandey, Noida
2005-01-11 15:51 ` help Greg KH
2005-01-11 17:00 ` help Theodore Ts'o
2005-01-11 16:07 ` help Erik Mouw
2005-01-11 14:28 help Bhupesh Kumar Pandey, Noida
2005-01-11 15:16 ` help Greg KH
2004-08-18 12:24 help Manik Raina
2004-03-06 17:00 help Billy Rose
2004-03-06 19:22 ` help Francois Romieu
2003-10-30 10:04 help stefan.eletzhofer
2003-07-07 18:20 help Justin Rush
2003-06-06 5:55 Help madalin mihailescu
2003-06-11 1:14 ` Help Lucas Correia Villa Real
2003-06-02 7:47 supermount for 2.5 test version available Andrey Borzenkov
2003-06-02 8:02 ` help Pedro Requejo
2002-12-05 16:14 help Dmitry V. Zhulanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.61.0608291046440.6963@yvahk01.tjqt.qr \
--to=jengelh@linux01.gwdg.de \
--cc=avlimeng@kingsoft.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).