Re: How to identify a thread from task_struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 3/16/07, Ahmed S. Darwish <darwish.07@xxxxxxxxx> wrote:
On Thu, Mar 15, 2007 at 01:21:15PM -0500, Irfan Habib wrote:
> Hi,
>
> Is there anything that task_structs have something that full process
> task_structs, something like an initialized pointer, or anything to
> distinguish them programmatically?
>

Why would you need to do this in the first place ?.

--
Ahmed S. Darwish
http://darwish.07.googlepages.com


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


Threads of a single process point to same mm_struct . For kernel level threads I think this will be NULL. Please check the fields of task_struct.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux