mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Srinivas Nayak <sinu.nayak2001@gmail.com>
Cc: Jaswinder Singh Rajput <jaswinderlinux@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Which function returns LWP in Linux.
Date: Mon, 17 May 2010 15:30:12 +0200	[thread overview]
Message-ID: <20100517133012.GC26359@const.bordeaux.inria.fr> (raw)
In-Reply-To: <AANLkTilGLJJG_eLHaqvJ5jOzxp96SbOroTCbHe9g5TXE@mail.gmail.com>

Srinivas Nayak, le Mon 17 May 2010 15:43:17 +0530, a écrit :
> After some more research, i foind that
> 
> syscall(SYS_gettid)
> 
> returns LWP id. Isn't this correct?

It is correct only on Linux, but yes.

Samuel

  reply	other threads:[~2010-05-17 13:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17  6:27 Srinivas Nayak
2010-05-17  6:56 ` Jaswinder Singh Rajput
2010-05-17  7:03 ` KOSAKI Motohiro
2010-05-17  7:33   ` Jaswinder Singh Rajput
2010-05-17 10:13     ` Srinivas Nayak
2010-05-17 13:30       ` Samuel Thibault [this message]
2010-05-17 18:13         ` H. Peter Anvin

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=20100517133012.GC26359@const.bordeaux.inria.fr \
    --to=samuel.thibault@ens-lyon.org \
    --cc=jaswinderlinux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sinu.nayak2001@gmail.com \
    /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

all inboxes | Powered by JetHome®