Re: How to identify a thread from task_struct

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

 



hello..
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?

Certainly threads share mm struct with parents, so maybe you can check whether mm struct of a process is 100% identical with its parent (parent can be identified for task_struct too).

regards,

Mulyadi



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


[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