public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Erik Mouw <erik@harddisk-recovery.com>
To: "Limeng [??????]" <avlimeng@kingsoft.net>
Cc: linux-kernel@vger.kernel.org
Subject: [OT] thread identification (was: help)
Date: Tue, 29 Aug 2006 10:46:17 +0200	[thread overview]
Message-ID: <20060829084616.GA7584@harddisk-recovery.com> (raw)
In-Reply-To: <004a01c6cb42$dbdbc110$8940a8c0@liibook>

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

  reply	other threads:[~2006-08-29  8:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29  8:12 help Limeng [李萌]
2006-08-29  8:46 ` Erik Mouw [this message]
2006-08-29  8:48 ` help Jan Engelhardt

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=20060829084616.GA7584@harddisk-recovery.com \
    --to=erik@harddisk-recovery.com \
    --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