How to find the child processes?

Surenkumar Nihalani suren at gatech.edu
Fri Feb 10 22:45:34 EST 2012


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 


More information about the Kernelnewbies mailing list