kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: suren@gatech.edu (Surenkumar Nihalani)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to find the child processes?
Date: Fri, 10 Feb 2012 22:45:34 -0500 (EST)	[thread overview]
Message-ID: <04928acc-76be-4785-99ea-d7ecab63f0a8@mail5.gatech.edu> (raw)
In-Reply-To: <6089e33a-29ad-4df9-aac8-006e9b42fbfa@mail5.gatech.edu>

Hi guys, 

I need help, again. I am writing a kernel module. I have the pid and tid from the current structure. How do I figure our the number of threads in the given process id? 
If possible, how do I get the individual tids within the pid? 

Thanks, 
Suren Nihalani. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120210/c4ef9e0b/attachment.html 

       reply	other threads:[~2012-02-11  3:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6089e33a-29ad-4df9-aac8-006e9b42fbfa@mail5.gatech.edu>
2012-02-11  3:45 ` Surenkumar Nihalani [this message]
2012-02-11  5:12   ` How to find the child processes? Dave Hylands

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=04928acc-76be-4785-99ea-d7ecab63f0a8@mail5.gatech.edu \
    --to=suren@gatech.edu \
    --cc=kernelnewbies@lists.kernelnewbies.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).